[Python-checkins] r45479 - python/trunk/Tools/buildbot/kill_python.c

martin.v.loewis python-checkins at python.org
Mon Apr 17 12:19:25 CEST 2006


Author: martin.v.loewis
Date: Mon Apr 17 12:19:25 2006
New Revision: 45479

Modified:
   python/trunk/Tools/buildbot/kill_python.c
Log:
Try some tracing

Modified: python/trunk/Tools/buildbot/kill_python.c
==============================================================================
--- python/trunk/Tools/buildbot/kill_python.c	(original)
+++ python/trunk/Tools/buildbot/kill_python.c	Mon Apr 17 12:19:25 2006
@@ -13,6 +13,7 @@
 		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];
@@ -41,7 +42,8 @@
 		}
 
 		_strlwr(path);
-		/* printf("%s\n", path); */
+		printf("%s\n", path);
+                fflush(stdout);
 		if (strstr(path, "build\\pcbuild\\python_d.exe") != NULL) {
 			printf("Terminating %s (pid %d)\n", path, pids[i]);
 			if (!TerminateProcess(hProcess, 1)) {
@@ -53,4 +55,4 @@
 
 		CloseHandle(hProcess);
 	}
-}
\ No newline at end of file
+}


More information about the Python-checkins mailing list