diff options
author | Elliott Hird <penguinofthegods@gmail.com> | 2011-12-14 20:43:19 (GMT) |
---|---|---|
committer | Elliott Hird <penguinofthegods@gmail.com> | 2011-12-14 20:46:55 (GMT) |
commit | 121f36d59f293263b9a27d01a8112de17978c5d1 (patch) | |
tree | 85e4e34d377bfc2e3580c1743784ce78dd462c22 /src/browse.cc | |
parent | 283282d6123a49c50efc6382e8082ced6bf6d268 (diff) | |
download | Ninja-121f36d59f293263b9a27d01a8112de17978c5d1.zip Ninja-121f36d59f293263b9a27d01a8112de17978c5d1.tar.gz Ninja-121f36d59f293263b9a27d01a8112de17978c5d1.tar.bz2 |
Support non-standard Python executable names
Closes #154.
Diffstat (limited to 'src/browse.cc')
-rw-r--r-- | src/browse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browse.cc b/src/browse.cc index bab3f36..83bfe43 100644 --- a/src/browse.cc +++ b/src/browse.cc @@ -46,7 +46,7 @@ void RunBrowsePython(State* state, const char* ninja_command, // exec Python, telling it to run the program from stdin. const char* command[] = { - "python", "-", ninja_command, initial_target, NULL + NINJA_PYTHON, "-", ninja_command, initial_target, NULL }; execvp(command[0], (char**)command); perror("ninja: execvp"); |