Commit 8bfbfb51 authored by Matthias Putz's avatar Matthias Putz

Fixed #28, problem with calling executable [thanks to sschuberth]

parent 61f59288
...@@ -519,6 +519,7 @@ def _Main(argv): ...@@ -519,6 +519,7 @@ def _Main(argv):
argv = [sys.executable] + argv argv = [sys.executable] + argv
try: try:
argv.insert(0, __file__) argv.insert(0, __file__)
argv.insert(0, sys.executable)
result = subprocess.call(argv) result = subprocess.call(argv)
except OSError as e: except OSError as e:
print('fatal: cannot restart repo after upgrade', file=sys.stderr) print('fatal: cannot restart repo after upgrade', file=sys.stderr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment