Skip to content

Commit 12c1beb

Browse files
author
Matthias Putz
committed
Fix: fixed starting repo after repo change/update
1 parent d93ebc4 commit 12c1beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def _Main(argv):
520520
argv.extend(rce.extra_args)
521521
try:
522522
# os.execv(__file__, argv)
523-
subprocess.call([__file__, argv])
523+
subprocess.call([sys.executable] + argv)
524524
except OSError as e:
525525
print('fatal: cannot restart repo after upgrade', file=sys.stderr)
526526
print('fatal: %s' % e, file=sys.stderr)

0 commit comments

Comments
 (0)