summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-09-18 14:00:02 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2016-09-18 14:00:02 (GMT)
commit5b86fbac4267f9ea6f9ae58d0adb2331cbdafa7c (patch)
tree7899f10c419e5049889e8134ad5a4627e6d37604
parent704e8bdc006861449fce67d85511a5763ac3d71c (diff)
fixed Popen call
-rwxr-xr-xrun-import.py2
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()