Commit d74b4bb6 authored by Martin v. Löwis's avatar Martin v. Löwis

Rename binary again; increase noise; stop trying to actually kill the process.

parent 552f3836
@rem Used by the buildbot "compile" step. @rem Used by the buildbot "compile" step.
cmd /c Tools\buildbot\external.bat cmd /c Tools\buildbot\external.bat
call "%VS71COMNTOOLS%vsvars32.bat" call "%VS71COMNTOOLS%vsvars32.bat"
cmd /q/c Tools\buildbot\kill_python.bat cmd /c Tools\buildbot\kill_python.bat
devenv.com /useenv /build Debug PCbuild\pcbuild.sln devenv.com /useenv /build Debug PCbuild\pcbuild.sln
cd Tools\buildbot cd Tools\buildbot
nmake /f kill_python.mak nmake /f kill_python.mak
kill_python3.exe kill_python4.exe
...@@ -44,6 +44,7 @@ int main() ...@@ -44,6 +44,7 @@ int main()
_strlwr(path); _strlwr(path);
printf("%s\n", path); printf("%s\n", path);
fflush(stdout); fflush(stdout);
/*
if (strstr(path, "build\\pcbuild\\python_d.exe") != NULL) { if (strstr(path, "build\\pcbuild\\python_d.exe") != NULL) {
printf("Terminating %s (pid %d)\n", path, pids[i]); printf("Terminating %s (pid %d)\n", path, pids[i]);
if (!TerminateProcess(hProcess, 1)) { if (!TerminateProcess(hProcess, 1)) {
...@@ -52,6 +53,7 @@ int main() ...@@ -52,6 +53,7 @@ int main()
} }
return 0; return 0;
} }
*/
CloseHandle(hProcess); CloseHandle(hProcess);
} }
......
kill_python.exe: kill_python.c kill_python.exe: kill_python.c
cl -nologo -o kill_python3.exe kill_python.c psapi.lib cl -nologo -o kill_python4.exe kill_python.c psapi.lib
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment