diff rgToolFactory.py @ 45:7b34711416d2 draft

Uploaded
author fubar
date Sun, 01 Mar 2015 05:57:52 -0500
parents 8d28e32c71ff
children
line wrap: on
line diff
--- a/rgToolFactory.py	Tue Oct 07 20:23:23 2014 -0400
+++ b/rgToolFactory.py	Sun Mar 01 05:57:52 2015 -0500
@@ -645,8 +645,8 @@
           retval = self.runBash()
         else:
             if self.opts.output_dir:
-                ste = open(self.elog,'w')
-                sto = open(self.tlog,'w')
+                ste = open(self.elog,'a')
+                sto = open(self.tlog,'a')
                 sto.write('## Toolfactory generated command line = %s\n' % ' '.join(self.cl))
                 sto.flush()
                 p = subprocess.Popen(self.cl,shell=False,stdout=sto,stderr=ste,stdin=subprocess.PIPE,cwd=self.opts.output_dir)