diff --git a/tracewin b/tracewin index dfc5a133950c16e2ef387862d949d6e49a8a000e..531153b9dd90c2496391f30ae71a90495801066f 100644 --- a/tracewin +++ b/tracewin @@ -78,8 +78,8 @@ if args.outpath: if args.seed: cmd.append("random_seed="+str(args.seed)) -print args.run +print ' '.join(cmd) if args.run: - subprocess.call(cmd) -else: - print ' '.join(cmd) + # TraceWin gives error when using subprocess.call (both for shell equals True and False) + #subprocess.call(cmd) + os.system(" ".join(cmd))