mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2021-01-25 (10e36d47)
This commit is contained in:
@@ -962,7 +962,10 @@ void kwsysProcess_Execute(kwsysProcess* cp)
|
|||||||
kwsysProcessCleanup(cp, GetLastError());
|
kwsysProcessCleanup(cp, GetLastError());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SetCurrentDirectoryW(cp->WorkingDirectory);
|
if (!SetCurrentDirectoryW(cp->WorkingDirectory)) {
|
||||||
|
kwsysProcessCleanup(cp, GetLastError());
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Setup the stdin pipe for the first process. */
|
/* Setup the stdin pipe for the first process. */
|
||||||
|
|||||||
Reference in New Issue
Block a user