Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Marathe <nsm.nikhil@gmail.com>2010-11-18 11:22:21 +0300
committerRyan Dahl <ry@tinyclouds.org>2010-11-22 06:27:23 +0300
commit7a3971e433e3929caa15f34b8e5e29d44a0e8cbb (patch)
tree89f37834dad15fdfcac28f090dd5009a93f13e0b /wscript
parent80b5a52217ad58b0d71993c2477a4a17bf6c84a2 (diff)
Use sys.executable to call python
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 774c27d2977..e9f1078276f 100644
--- a/wscript
+++ b/wscript
@@ -416,7 +416,7 @@ def v8_cmd(bld, variant):
else:
snapshot = ""
- cmd_R = 'python "%s" -j %d -C "%s" -Y "%s" visibility=default mode=%s %s library=static %s'
+ cmd_R = sys.executable + ' "%s" -j %d -C "%s" -Y "%s" visibility=default mode=%s %s library=static %s'
cmd = cmd_R % ( scons
, Options.options.jobs