changeset 6:42637d352d09 draft

Uploaded
author fubar
date Fri, 19 Dec 2014 17:03:32 -0500
parents e9e354d64f8a
children ef0297b352d8
files rgToolFactory.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rgToolFactory.py	Fri Dec 19 05:58:15 2014 -0500
+++ b/rgToolFactory.py	Fri Dec 19 17:03:32 2014 -0500
@@ -555,7 +555,8 @@
                 p = subprocess.Popen(self.cl,shell=False,stdout=sto,stderr=ste,stdin=subprocess.PIPE,cwd=self.opts.output_dir,env=my_env)
             else:
                 p = subprocess.Popen(self.cl,shell=False,stdin=subprocess.PIPE,env=my_env)
-            p.stdin.write(self.script)
+            # p.stdin.write(self.script)
+            print >> p.stdin, self.script
             p.stdin.close()
             retval = p.wait()
             if self.opts.output_dir: