summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()