@ -122,9 +122,11 @@ class ExecutionApi:
print(command)
else:
process = Popen(command, shell=shell)
outs, _ = process.communicate()
outs, errs = process.communicate()
while outs is not None:
stdout.buffer.write(outs)
if errs is not None:
raise RuntimeError(f"Execute live '{command}' failed with code {process.returncode}\n{errs}")
class EnvironmentApi: