diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-31 14:59:26 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-31 14:59:26 +0000 |
commit | 656dc2adeeb3eded0c640002f86f2877c8c7e3fc (patch) | |
tree | e51d669ad3d07e028f713c23151f0f8085eae42b /Tools/buildbot/kill_python.c | |
parent | 915d5d96d826c13cd6a89341fc1a2ce12811aea2 (diff) | |
download | cpython-git-656dc2adeeb3eded0c640002f86f2877c8c7e3fc.tar.gz |
Fix paths for build bot
Diffstat (limited to 'Tools/buildbot/kill_python.c')
-rw-r--r-- | Tools/buildbot/kill_python.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/buildbot/kill_python.c b/Tools/buildbot/kill_python.c index 023ff2deff..fd707da6d5 100644 --- a/Tools/buildbot/kill_python.c +++ b/Tools/buildbot/kill_python.c @@ -1,4 +1,4 @@ -/* This program looks for processes which have build\PCbuild\python.exe +/* This program looks for processes which have build\PC\VS7.1\python.exe in their path and terminates them. */ #include <windows.h> #include <psapi.h> @@ -46,14 +46,14 @@ int main() /* Check if we are running a buildbot version of Python. On Windows, this will always be a debug build from the - PCbuild directory. build\\PCbuild\\python_d.exe + PC\VS7.1 directory. build\\PC\\VS7.1\\python_d.exe On Cygwin, the pathname is similar to other Unixes. Use \\build\\python.exe to ensure we don't match - PCbuild\\python.exe which could be a normal instance + PC\\VS7.1\\python.exe which could be a normal instance of Python running on vanilla Windows. */ - if ((strstr(path, "build\\pcbuild\\python_d.exe") != NULL) || + if ((strstr(path, "build\\pc\\vs7.1\\python_d.exe") != NULL) || (strstr(path, "\\build\\python.exe") != NULL)) { printf("Terminating %s (pid %d)\n", path, pids[i]); if (!TerminateProcess(hProcess, 1)) { |