summaryrefslogtreecommitdiffstats
path: root/src/browse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/browse.cc')
-rw-r--r--src/browse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browse.cc b/src/browse.cc
index 64a6bcb..2e74206 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[] = {
- "python2", "-", ninja_command, initial_target, NULL
+ "python", "-", ninja_command, initial_target, NULL
};
execvp(command[0], (char**)command);
perror("ninja: execvp");