Skip to content

Commit 807b019

Browse files
authored
Merge pull request #48 from JdeRobot/issue-47
Fixed working directory of python applications
2 parents 6a29a24 + 4e3f2ef commit 807b019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/libs/applications/compatibility/robotics_application_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, update_callback):
3131

3232
def _create_process(self, cmd):
3333
#print("creando procesos")
34-
process = subprocess.Popen(f"{cmd}", shell=True, stdout = sys.stdout, stderr=subprocess.STDOUT, bufsize=1024, universal_newlines=True)
34+
process = subprocess.Popen(f"{cmd}", shell=True, stdout = sys.stdout, stderr=subprocess.STDOUT, bufsize=1024, universal_newlines=True, cwd="/workspace/code")
3535
psProcess = psutil.Process(pid=process.pid)
3636
return psProcess
3737

0 commit comments

Comments
 (0)