From 788211e5448dd6dc7eb2e8ab731575af1dcf4355 Mon Sep 17 00:00:00 2001 From: latentvector Date: Sat, 4 May 2024 12:16:46 -0400 Subject: [PATCH] cmd --- commune/os.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commune/os.py b/commune/os.py index fe90c4228..7cbfd5d0d 100644 --- a/commune/os.py +++ b/commune/os.py @@ -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,