Skip to content

Commit

Permalink
cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
latentvector committed May 4, 2024
1 parent 2c87818 commit 788211e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions commune/os.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ def kill_process(process):
if bash:
command = f'bash -c "{command}"'


if cwd != None:
command = f'cd {cwd} ; {command}'

process = subprocess.Popen(shlex.split(command),
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
Expand Down

0 comments on commit 788211e

Please sign in to comment.