diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2008-01-01 23:00:48 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2008-01-01 23:00:48 (GMT) |
| commit | 76f1c1f304ed53898be15284ecf0cbba2548486a (patch) | |
| tree | 0465ae93b9803b636bf34029d04ba7d92431985c /Tools/buildbot/kill_python.c | |
| parent | b31131c5bce1c0c7cc5fa50632238ebd2ede0961 (diff) | |
| download | cpython-76f1c1f304ed53898be15284ecf0cbba2548486a.zip cpython-76f1c1f304ed53898be15284ecf0cbba2548486a.tar.gz cpython-76f1c1f304ed53898be15284ecf0cbba2548486a.tar.bz2 | |
Use Visual Studio 2009 on the build slaves.
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 fd707da..5ba450f 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\PC\VS7.1\python.exe +/* This program looks for processes which have build\PCbuild\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 - PC\VS7.1 directory. build\\PC\\VS7.1\\python_d.exe + PCbuild directory. build\\PCbuild\\python_d.exe On Cygwin, the pathname is similar to other Unixes. Use \\build\\python.exe to ensure we don't match - PC\\VS7.1\\python.exe which could be a normal instance + PCbuild\\python.exe which could be a normal instance of Python running on vanilla Windows. */ - if ((strstr(path, "build\\pc\\vs7.1\\python_d.exe") != NULL) || + if ((strstr(path, "pcbuild\\python_d.exe") != NULL) || (strstr(path, "\\build\\python.exe") != NULL)) { printf("Terminating %s (pid %d)\n", path, pids[i]); if (!TerminateProcess(hProcess, 1)) { |
