#include <CPipedProcess.h>
Definition at line 8 of file CPipedProcess.h.
◆ CPipedProcess()
CPipedProcess::CPipedProcess |
( |
const wstring & |
CommandLine, |
|
|
CPipe & |
Pipe |
|
) |
| |
Constructs a CPipedProcess object and starts the process with redirected output.
- Parameters
-
CommandLine | A std::wstring containing the command line to run. |
Pipe | The CPipe instance to redirect the process's output to. Note that only the read pipe is usable after the pipe was passed to this object. |
Definition at line 20 of file CPipedProcess.cpp.
22{
23 Pipe.CloseWritePipe();
24}
LPSTARTUPINFOW InitStartupInfo(CPipe &Pipe)
◆ InitStartupInfo()
Initializes the STARTUPINFO structure for use in CreateProcessW.
- Parameters
-
Pipe | The CPipe instance to redirect the process's output to. |
Definition at line 33 of file CPipedProcess.cpp.
34{
42}
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
STARTUPINFOW m_StartupInfo
#define STARTF_USESTDHANDLES
◆ m_StartupInfo
The documentation for this class was generated from the following files: