Kaydet (Commit) ce8607df authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Revert to 45478, disable kill_python command for now.

üst c97c1195
@rem Used by the buildbot "compile" step.
cmd /c Tools\buildbot\external.bat
call "%VS71COMNTOOLS%vsvars32.bat"
cmd /c Tools\buildbot\kill_python.bat
@rem cmd /q/c Tools\buildbot\kill_python.bat
devenv.com /useenv /build Debug PCbuild\pcbuild.sln
cd Tools\buildbot
dir
nmake /f kill_python.mak
kill_python4.exe
nmake /C /S /f kill_python.mak
kill_python.exe
......@@ -13,7 +13,6 @@ int main()
return 1;
}
num_processes = cbNeeded/sizeof(pids[0]);
printf("%d processes\n", num_processes);
for (i = 0; i < num_processes; i++) {
HANDLE hProcess;
char path[MAX_PATH];
......@@ -42,9 +41,7 @@ int main()
}
_strlwr(path);
printf("%s\n", path);
fflush(stdout);
/*
/* printf("%s\n", path); */
if (strstr(path, "build\\pcbuild\\python_d.exe") != NULL) {
printf("Terminating %s (pid %d)\n", path, pids[i]);
if (!TerminateProcess(hProcess, 1)) {
......@@ -53,8 +50,7 @@ int main()
}
return 0;
}
*/
CloseHandle(hProcess);
}
}
}
\ No newline at end of file
kill_python.exe: kill_python.c
cl -nologo -o kill_python4.exe kill_python.c psapi.lib
cl -nologo -o kill_python.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