| Index: tools/create_snapshot_file.py
|
| ===================================================================
|
| --- tools/create_snapshot_file.py (revision 1129)
|
| +++ tools/create_snapshot_file.py (working copy)
|
| @@ -96,7 +96,14 @@
|
| command = [ options.executable, snapshot_argument ] + scripts
|
| if options.verbose:
|
| print ' '.join(command)
|
| - subprocess.call(command)
|
| + pipe = subprocess.Popen(command,
|
| + stdout=subprocess.PIPE,
|
| + stderr=subprocess.PIPE)
|
| + out, error = pipe.communicate()
|
| + if (pipe.returncode != 0):
|
| + print out, error
|
| + print "Snapshot generation failed"
|
| + return -1
|
|
|
| if not makeFile(options.output, options.input_cc, options.output_bin):
|
| return -1
|
|
|