# HG changeset patch # User george-weingart # Date 1399414162 14400 # Node ID 2f588c5668498d5a1cd9da59211b8968091f8793 # Parent 4641f18651c382f182d97dec5795ab9db7883ab1 Modified the invication of the commad using subprocess and modified tempfile diff -r 4641f18651c3 -r 2f588c566849 micropita_prepare.py --- 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)