xm: handle error in auxbin gracefully

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This commit is contained in:
Keir Fraser committed 2009-04-07 14:24:53 +01:00
1 parent 6cc1002a77
commit bf70c78677
1 file changed
+5 -1
+5 -1
View File
@@ -35,7 +35,11 @@ def execute(exe, args = None):
a = [ exepath ]
if args:
a.extend(args)
os.execv(exepath, a)
try:
os.execv(exepath, a)
except OSError, exn:
print exepath, ": ", exn
sys.exit(1)
def pathTo(exe):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.