run(): print command as string on error
This commit is contained in:
parent
eb7f0d55fc
commit
22491fe141
@ -107,7 +107,7 @@ def run(*args, **kwargs):
|
|||||||
sys.stdout.write(exception.output.decode("UTF-8"))
|
sys.stdout.write(exception.output.decode("UTF-8"))
|
||||||
|
|
||||||
sys.exit("Error: got exitcode {} from command {}".format(
|
sys.exit("Error: got exitcode {} from command {}".format(
|
||||||
exception.returncode, args))
|
exception.returncode, " ".join(args)))
|
||||||
|
|
||||||
if opts.verbose and capture:
|
if opts.verbose and capture:
|
||||||
sys.stdout.write(output.decode("UTF-8"))
|
sys.stdout.write(output.decode("UTF-8"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user