Show More
@@ -313,12 +313,12 b' def _run_command(arguments):' | |||
|
313 | 313 | # Probably this should be using subprocessio. |
|
314 | 314 | process = subprocess.Popen( |
|
315 | 315 | arguments, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
|
316 |
stdout, |
|
|
316 | stdout, stderr = process.communicate() | |
|
317 | 317 | |
|
318 | 318 | if process.returncode != 0: |
|
319 | 319 | raise Exception( |
|
320 |
'Command %s exited with exit code %s' % ( |
|
|
321 | process.returncode)) | |
|
320 | 'Command %s exited with exit code %s: stderr:%s' % ( | |
|
321 | arguments, process.returncode, stderr)) | |
|
322 | 322 | |
|
323 | 323 | return stdout |
|
324 | 324 |
General Comments 0
You need to be logged in to leave comments.
Login now