Subprocesses should *never* raise an exception beyond fork_start.
From: Steve Howard <showard@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@958 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/subcommand.py b/server/subcommand.py
index 2325d87..251c931 100644
--- a/server/subcommand.py
+++ b/server/subcommand.py
@@ -1,6 +1,6 @@
__author__ = """Copyright Andy Whitcroft, Martin J. Bligh - 2006, 2007"""
-import sys, os, subprocess
+import sys, os, subprocess, traceback
def parallel(tasklist):
@@ -137,7 +137,7 @@
self.lambda_function()
except:
- raise
+ traceback.print_exc()
sys.stdout.flush()
sys.stderr.flush()
os._exit(1)