Mercurial > repos > george-weingart > micropita
changeset 10:2f588c566849
Modified the invication of the commad using subprocess and modified tempfile
author | george-weingart |
---|---|
date | Tue, 06 May 2014 18:09:22 -0400 |
parents | 4641f18651c3 |
children | 1dcb00d567f7 |
files | micropita_prepare.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/micropita_prepare.py Tue May 06 17:34:57 2014 -0400 +++ b/micropita_prepare.py Tue May 06 18:09:22 2014 -0400 @@ -170,12 +170,12 @@ stratify_string + " " + \ results.inputname + " " +\ results.outputname - print os_command - ###argsx = shlex.split(os_command) - ####print argsx + ##print os_command + argsx = shlex.split(os_command) + print argsx try: - os.system(os_command) - ######subprocess.check_call(argsx , shell=False) + ###os.system(os_command) + subprocess.check_call(argsx , shell=False) except: print "The call to micropita failed=============" sys.exit(0)