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:
parent
a3ccf49f5b
commit
6fd2d39a7d
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue