diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-09-18 14:00:02 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-09-18 14:00:02 (GMT) |
commit | 5b86fbac4267f9ea6f9ae58d0adb2331cbdafa7c (patch) | |
tree | 7899f10c419e5049889e8134ad5a4627e6d37604 | |
parent | 704e8bdc006861449fce67d85511a5763ac3d71c (diff) |
fixed Popen call
-rwxr-xr-x | run-import.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |