Fixed run command
This commit is contained in:
parent
785b1fbc57
commit
254b07d781
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class WallabyControl(Routing.ClientRoute):
|
||||||
command = ["gstdbuf", "-i0", "-o0", "-e0"]
|
command = ["gstdbuf", "-i0", "-o0", "-e0"]
|
||||||
else:
|
else:
|
||||||
command = ["stdbuf", "-i0", "-o0", "-e0"]
|
command = ["stdbuf", "-i0", "-o0", "-e0"]
|
||||||
command.append("./%s%s/botball_user_program" % (handler.sync.folder, program))
|
command.append("%s%s/botball_user_program" % (handler.sync.folder, program))
|
||||||
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
# Poll process for new output until finished
|
# Poll process for new output until finished
|
||||||
|
|
Reference in a new issue