Changeset 1784 for box/chris/general/lib/server/LocalProcessStream.cpp
- Timestamp:
- 01/08/2007 00:18:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/chris/general/lib/server/LocalProcessStream.cpp
r1039 r1784 121 121 if(!CreatePipe(&readFromChild, &writeInChild, &secAttr, 0)) 122 122 { 123 ::syslog(LOG_ERR,"Failed to CreatePipe for child process: "124 "error %d", GetLastError());123 BOX_ERROR("Failed to CreatePipe for child process: " 124 GetErrorMessage(GetLastError())); 125 125 THROW_EXCEPTION(ServerException, SocketPairFailed) 126 126 } … … 156 156 if(!result) 157 157 { 158 ::syslog(LOG_ERR, "Failed to CreateProcess: '%s': "159 " error %d", CommandLine, GetLastError());158 BOX_ERROR("Failed to CreateProcess: '" << CommandLine << 159 "': " << GetErrorMessage(GetLastError())); 160 160 CloseHandle(writeInChild); 161 161 CloseHandle(readFromChild);
Note: See TracChangeset
for help on using the changeset viewer.
