fix zmq cmd
This commit is contained in:
parent
ba75acc217
commit
ab38ac3869
@ -632,6 +632,7 @@ class CarrotMan:
|
||||
elif 'echo_cmd' in json_obj:
|
||||
try:
|
||||
result = subprocess.run(json_obj['echo_cmd'], shell=True, capture_output=True, text=False)
|
||||
exitStatus = result.returncode
|
||||
try:
|
||||
stdout = result.stdout.decode('utf-8')
|
||||
stderr = result.stderr.decode('utf-8')
|
||||
|
Loading…
x
Reference in New Issue
Block a user