if exe() returns stderr, write it to stderr; fixes #28
This commit is contained in:
parent
347462b8aa
commit
9aeacec5e5
@ -63,6 +63,10 @@ def exe(command):
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
universal_newlines=True).communicate()
|
||||
|
||||
if stderr:
|
||||
sys.stderr.write(stderr)
|
||||
|
||||
return stdout, stderr
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user