mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
style: Fix formatting and use consistent quotes in utils.py
This commit is contained in:
parent
106a14cbdd
commit
206f3ae275
1 changed files with 3 additions and 3 deletions
|
@ -30,10 +30,10 @@ def run_interactive_command(command):
|
|||
|
||||
try:
|
||||
# Check if /bin/sh exists
|
||||
if os.path.exists('/bin/sh'):
|
||||
if os.path.exists("/bin/sh"):
|
||||
# Use /bin/sh -c if it exists
|
||||
spawn_command = ['/bin/sh', '-c', command]
|
||||
child = pexpect.spawn('/bin/sh', args=['-c', command], encoding="utf-8")
|
||||
spawn_command = ["/bin/sh", "-c", command]
|
||||
child = pexpect.spawn("/bin/sh", args=["-c", command], encoding="utf-8")
|
||||
else:
|
||||
# Fall back to the original behavior
|
||||
spawn_command = command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue