diff options
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/scons/tools/btools.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py index 296d518596a..a71ab04b888 100644 --- a/build_files/scons/tools/btools.py +++ b/build_files/scons/tools/btools.py @@ -222,15 +222,15 @@ class ourSpawn: newargs = string.join(args[1:], ' ') cmdline = cmd + " " + newargs startupinfo = subprocess.STARTUPINFO() - startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW + #startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False) data, err = proc.communicate() rv = proc.wait() - if rv: - print "=====" - print err - print "=====" + if data: + print(data) + if err: + print(err) return rv def SetupSpawn( env ): |