# HG changeset patch # User timothy.murphy@nokia.com # Date 1263586766 0 # Node ID 375b7128e900be3f1a4bfee3cda3ab744a17ae1e # Parent 7136693697edf9798821a3519b638fea72f243ff Put stderr into separate log file diff -r 7136693697ed -r 375b7128e900 sbsv2/raptor/python/raptor_make.py --- a/sbsv2/raptor/python/raptor_make.py Fri Jan 15 13:37:16 2010 +0000 +++ b/sbsv2/raptor/python/raptor_make.py Fri Jan 15 20:19:26 2010 +0000 @@ -470,15 +470,18 @@ makeenv['TALON_BUILDID']=str(self.buildID) makeenv['TALON_TIMEOUT']=str(self.talontimeout) if self.raptor.filesystem == "unix": - p = subprocess.Popen(command, bufsize=65535, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - close_fds=True, env=makeenv, shell=True) + p = subprocess.Popen([command], bufsize=65535, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + close_fds=True, env=makeenv, shell=True) else: - p = subprocess.Popen(command, bufsize=65535, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - universal_newlines=True, env=makeenv) + p = subprocess.Popen(args = + [raptor_data.ToolSet.shell, '-c', command, '2>' + makefile+'.stderr'], + bufsize=65535, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + shell = False, + universal_newlines=True, env=makeenv) stream = p.stdout