mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 150029 - Patch for Alex - Add quotes around the starter command line to deal with spaces in the path to the starter executable.
This commit is contained in:
parent
e8fa5343a0
commit
514d90bbc9
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue