Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2007-06-06 11:58:34 -0400
committerDoug Schaefer2007-06-06 11:58:34 -0400
commit514d90bbc9f28bc0bf9e07bbf99d22832eeb5ff9 (patch)
tree21374728d6c148d5e396af31fa3dba8a8719bd9f /core/org.eclipse.cdt.core.win32/library
parente8fa5343a0b13991b38de061927ba3d3f017e688 (diff)
downloadorg.eclipse.cdt-514d90bbc9f28bc0bf9e07bbf99d22832eeb5ff9.tar.gz
org.eclipse.cdt-514d90bbc9f28bc0bf9e07bbf99d22832eeb5ff9.tar.xz
org.eclipse.cdt-514d90bbc9f28bc0bf9e07bbf99d22832eeb5ff9.zip
Bug 150029 - Patch for Alex - Add quotes around the starter command line to deal with spaces in the path to the starter executable.
Diffstat (limited to 'core/org.eclipse.cdt.core.win32/library')
-rw-r--r--core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
index a88df2aa7f..6809416cb0 100644
--- a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
+++ b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
@@ -225,7 +225,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_exec0
pCurProcInfo -> eventTerminate = CreateEventW(NULL, TRUE, FALSE, eventTerminateName);
ResetEvent(pCurProcInfo -> eventTerminate);
- swprintf(szCmdLine, L"%sstarter.exe %i %i %s %s %s ", path, pid, nLocalCounter, eventBreakName, eventWaitName, eventTerminateName);
+ swprintf(szCmdLine, L"\"%sstarter.exe\" %i %i %s %s %s ", path, pid, nLocalCounter, eventBreakName, eventWaitName, eventTerminateName);
nPos = wcslen(szCmdLine);
// Prepare command line

Back to the top