From 5b86fbac4267f9ea6f9ae58d0adb2331cbdafa7c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 18 Sep 2016 16:00:02 +0200 Subject: fixed Popen call diff --git a/run-import.py b/run-import.py index 1dc1c15..91e7302 100755 --- a/run-import.py +++ b/run-import.py @@ -80,7 +80,7 @@ def run_one(g): print "start import from %s to %s" % (g['old'], g['new']) log = open("%s.log" % (g['old']), "w") - p = subprocess.Popen(["./pool-import", g['old'], g['new']], shell=True, universal_newlines=True, stdout=log, stderr=log) + p = subprocess.Popen(["./pool-import", g['old'], g['new']], stdout=log, stderr=log) ret_code = p.wait() log.flush() log.close() -- cgit v0.10.2