Commit f9956f91 authored by Daniel STAN's avatar Daniel STAN
Browse files

subprocess: don't use wait()

Je n'avais pas lu le warning ...
parent fc40d2e6
......@@ -300,9 +300,11 @@ def remote_command(options, command, arg=None, stdin_contents=None):
proc = remote_proc(options, command, arg)
if stdin_contents is not None:
ret = proc.wait()
raw_out =
raw_out, raw_err = proc.communicate()
ret = proc.returncode
if ret != 0:
if not options.quiet:
print((u"Mauvais code retour côté serveur, voir erreur " +
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment