diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-09 17:26:39 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-09 17:26:39 -0700 |
commit | 8bd0457ad49d025489d6c46c0f266daec562dcb5 (patch) | |
tree | 8e07b7f18a8f7c9ba9a835d9b070cef0375e6c39 /tools | |
parent | c5425d7d8c38ca1f9617b9823b1cc231bdc73314 (diff) |
try to make WindowsPopen errors a little more explicit
Diffstat (limited to 'tools')
-rw-r--r-- | tools/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index a13c20a6..539144c6 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -39,7 +39,8 @@ class WindowsPopen: try: self.process = subprocess.Popen(args, bufsize, executable, self.stdin_, self.stdout_, self.stderr_, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags) except Exception, e: - print >> sys.stderr, 'subprocess.Popen(args=%s) failed! Exception %s' % (' '.join(args), str(e)) + print >> sys.stderr, '\nsubprocess.Popen(args=%s) failed! Exception %s\n' % (' '.join(args), str(e)) + raise e def communicate(self, input=None): output = self.process.communicate(input) |