From 4751974b960aacd2ddc542f6bd4cbe0bccaf84f7 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Tue, 22 Oct 2002 00:27:56 +0000 Subject: [PATCH] get the result code of the process. --- core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c index 7c56f2fb55d..0d642e885b0 100644 --- a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c +++ b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c @@ -539,7 +539,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_waitFor if (what == WAIT_OBJECT_0) { - GetExitCodeProcess((void *)(pCurProcInfo -> pid), &exit_code); + GetExitCodeProcess(hProc, &exit_code); }