Skip to content
Snippets Groups Projects
Commit ebf6421d authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

subprocess.call doesnt work for tracewin

parent 32c473f2
No related branches found
No related tags found
No related merge requests found
...@@ -78,8 +78,8 @@ if args.outpath: ...@@ -78,8 +78,8 @@ if args.outpath:
if args.seed: if args.seed:
cmd.append("random_seed="+str(args.seed)) cmd.append("random_seed="+str(args.seed))
print args.run print ' '.join(cmd)
if args.run: if args.run:
subprocess.call(cmd) # TraceWin gives error when using subprocess.call (both for shell equals True and False)
else: #subprocess.call(cmd)
print ' '.join(cmd) os.system(" ".join(cmd))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment