]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - bin/tahoe-script.template
bin/tahoe @python should always invoke the same Python that ran bin/tahoe.
[tahoe-lafs/tahoe-lafs.git] / bin / tahoe-script.template
index 3fb7efedf717f8af311ea39aa7bf0221e801f076..b088eaf6a32f736a232be60f9c420d4628d368dc 100644 (file)
@@ -94,6 +94,8 @@ if len(args) >= 1 and args[0].startswith('@'):
         prefix = [sys.executable]
     else:
         prefix = []
+        if runner == "python":
+            runner = sys.executable
 
     def _subst(a):
         if a == '@tahoe': return script