From ebf6421d89f3a90f42a27066e383be1b24b3807a Mon Sep 17 00:00:00 2001 From: Yngve Inntjore Levinsen <Yngve.Levinsen@esss.se> Date: Fri, 10 Apr 2015 12:25:22 +0200 Subject: [PATCH] subprocess.call doesnt work for tracewin --- tracewin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tracewin b/tracewin index dfc5a13..531153b 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)) -- GitLab