Commit 8aec127e authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-07 09:58:14 by simonmar]

slight correction to runCmd to fix exit code values.
parent cdbaeff3
......@@ -920,8 +920,9 @@ def runCmd( cmd ):
if (config.timeout_prog == ''):
return os.system( cmd )
else:
return os.spawnv(os.P_WAIT, config.timeout_prog,
r = os.spawnv(os.P_WAIT, config.timeout_prog,
[config.timeout_prog,`config.timeout`,cmd] )
return r << 8
def rm_no_fail( file ):
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment