[pypy-svn] pypy default: Print more information in case running

arigo commits-noreply at bitbucket.org
Thu Mar 17 17:03:10 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r42734:3206f83a219c
Date: 2011-03-17 12:02 -0400
http://bitbucket.org/pypy/pypy/changeset/3206f83a219c/

Log:	Print more information in case running the external process failed.

diff --git a/pypy/tool/runsubprocess.py b/pypy/tool/runsubprocess.py
--- a/pypy/tool/runsubprocess.py
+++ b/pypy/tool/runsubprocess.py
@@ -70,5 +70,5 @@
         assert results.startswith('(')
         results = eval(results)
         if results[0] is None:
-            raise OSError('%s: %s' % (args[0], results[1]))
+            raise OSError('%s: %s\nargs=%r' % (args[0], results[1], args))
         return results


More information about the Pypy-commit mailing list