if exe() returns stderr, write it to stderr; fixes #28
This commit is contained in:
@ -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
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user