Renamed `python` to `python2`.
authorCiprian Dorin, Craciun <ciprian@volution.ro>
Tue, 22 Nov 2011 00:11:50 +0000 (02:11 +0200)
committerCiprian Dorin, Craciun <ciprian@volution.ro>
Tue, 22 Nov 2011 00:57:53 +0000 (02:57 +0200)
src/browse.cc

index 2e74206..64a6bcb 100644 (file)
@@ -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
+        "python2", "-", ninja_command, initial_target, NULL
       };
       execvp(command[0], (char**)command);
       perror("ninja: execvp");