From 7a3971e433e3929caa15f34b8e5e29d44a0e8cbb Mon Sep 17 00:00:00 2001 From: Nikhil Marathe Date: Thu, 18 Nov 2010 13:52:21 +0530 Subject: [PATCH] Use sys.executable to call python --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 774c27d297..e9f1078276 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