9#define WIN32_LEAN_AND_MEAN
17const auto kDefaultShutdownTimeout = 10;
23 explicit MSWindowsProcess(
const std::wstring &command, HANDLE stdOutput =
nullptr, HANDLE stdError =
nullptr);
34 PROCESS_INFORMATION
info()
const
46 void setStartupInfo(STARTUPINFO &si);
48 static std::wstring readOutput(HANDLE handle);
50 std::wstring m_command;
53 HANDLE m_outputPipe =
nullptr;
54 HANDLE m_errorPipe =
nullptr;
55 PROCESS_INFORMATION m_info;
56 BOOL m_createProcessResult = FALSE;
static const WSAEVENT FAR DWORD
Definition ArchNetworkWinsock.cpp:55
static const WSAEVENT FAR BOOL
Definition ArchNetworkWinsock.cpp:55
static fd_set FAR fd_set FAR fd_set FAR const struct timeval FAR * timeout
Definition ArchNetworkWinsock.cpp:40