diff options
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 3717a90..d253401 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1479,6 +1479,7 @@ bool RunCommandViaWin32(const char* command, int& retVal, bool verbose) { + ::SetLastError(ERROR_SUCCESS); if ( ! command ) { cmSystemTools::Error("No command specified"); |