Commit b866095f authored by Betoule Marc's avatar Betoule Marc
Browse files

Small improvement to loggedsubprocess

parent c1e8ecda
......@@ -218,8 +218,8 @@ class Environment(EnvironmentBase):
ef = self.get_data_fn(proc+'.err')
o = file(of,'w')
e = file(ef,'w')
o.write('#'+' '.join([str(a) for a in args])+'\n')
e.write('#'+' '.join([str(a) for a in args])+'\n')
p=subprocess.Popen(args, stdout=o, stderr=e, shell=shell)
if except_on_failure:
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