Win32 process support functions.
More...
#include <Process.h>
|
static DWORD | Execute (const std::wstring commandline, const std::wstring &directory=L"") |
| execute a process, wait for it to complete and return its exit code More...
|
|
Win32 process support functions.
void Process::Create |
( |
const std::wstring & |
commandline, |
|
|
const std::wstring |
directory = L"" |
|
) |
| |
void Process::CreateWithRedirectedOutput |
( |
const std::wstring & |
commandline, |
|
|
const std::wstring |
directory = L"" |
|
) |
| |
create a process with redirected pipes
DWORD Process::Execute |
( |
const std::wstring |
commandline, |
|
|
const std::wstring & |
directory = L"" |
|
) |
| |
|
static |
execute a process, wait for it to complete and return its exit code
DWORD Process::GetExitCode |
( |
| ) |
|
std::string Process::ReadLine |
( |
bool & |
finished | ) |
|
read a line from an executing process' output
void Process::Wait |
( |
DWORD |
dwMilliseconds = INFINITE | ) |
|
wait for the process to complete
The documentation for this class was generated from the following files: