changeset 155:7780b8815ab2

Fix return code interpretation on Win32. Closes #38.
author cmlenz
date Mon, 22 Aug 2005 15:43:24 +0000
parents d72d68471c10
children 0176b0546563
files bitten/util/cmdline.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/util/cmdline.py
+++ b/bitten/util/cmdline.py
@@ -88,7 +88,7 @@
             out_name = tempfile.mktemp()
             err_name = tempfile.mktemp()
             cmd = "( %s ) > %s 2> %s" % (' '.join(args), out_name, err_name)
-            self.returncode = os.system(cmd) >> 8
+            self.returncode = os.system(cmd)
             log.debug('Exited with code %s', self.returncode)
 
             out_file = file(out_name, 'r')
Copyright (C) 2012-2017 Edgewall Software