mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06: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());
|
||||
return;
|
||||
}
|
||||
SetCurrentDirectoryW(cp->WorkingDirectory);
|
||||
if (!SetCurrentDirectoryW(cp->WorkingDirectory)) {
|
||||
kwsysProcessCleanup(cp, GetLastError());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Setup the stdin pipe for the first process. */
|
||||
|
||||
Reference in New Issue
Block a user