Modified run_locally mode to use os.system(..) instead of popen

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3515 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
weisburd 2010-06-09 17:10:03 +00:00
parent a3ccf49f5b
commit 6fd2d39a7d
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ for contig in contigs:
print("Executing: " + command)
if run_locally:
#execute(command, os.path.join(logs_dir,contig+"_log.txt"))
execute(command + " >& " + os.path.join(logs_dir,contig+"_log.txt"))
os.system(command + " >& " + os.path.join(logs_dir,contig+"_log.txt"))
else:
os.system(command)
else: