make-release.py: Send stderr to stdout
This commit is contained in:
@@ -335,8 +335,9 @@ def sh_out(*args):
|
|||||||
|
|
||||||
def sh_log(*args):
|
def sh_log(*args):
|
||||||
PIPE = subprocess.PIPE
|
PIPE = subprocess.PIPE
|
||||||
|
STDOUT = subprocess.STDOUT
|
||||||
try:
|
try:
|
||||||
p = subprocess.Popen(args, stdout=PIPE, stderr=PIPE, stdin=None)
|
p = subprocess.Popen(args, stdout=PIPE, stderr=STDOUT, stdin=None)
|
||||||
except OSError:
|
except OSError:
|
||||||
logging.error('Error launching %r...', args)
|
logging.error('Error launching %r...', args)
|
||||||
raise
|
raise
|
||||||
@@ -357,8 +358,9 @@ def sh_progress(markers, *args):
|
|||||||
return
|
return
|
||||||
|
|
||||||
PIPE = subprocess.PIPE
|
PIPE = subprocess.PIPE
|
||||||
|
STDOUT = subprocess.STDOUT
|
||||||
try:
|
try:
|
||||||
p = subprocess.Popen(args, stdout=PIPE, stderr=PIPE, stdin=None)
|
p = subprocess.Popen(args, stdout=PIPE, stderr=STDOUT, stdin=None)
|
||||||
except OSError:
|
except OSError:
|
||||||
logging.error('Error launching %r...', args)
|
logging.error('Error launching %r...', args)
|
||||||
raise
|
raise
|
||||||
|
|||||||
Reference in New Issue
Block a user