2015-02-16 13:17:04 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Automatic Testing Utility
|
2017-09-29 18:13:54 +00:00
|
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
2015-02-16 13:17:04 +00:00
|
|
|
* PURPOSE: Class that creates a process and redirects its output to a pipe
|
2017-09-29 18:13:54 +00:00
|
|
|
* COPYRIGHT: Copyright 2015 Thomas Faber (thomas.faber@reactos.org)
|
2015-02-16 13:17:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class CPipedProcess : public CProcess
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
STARTUPINFOW m_StartupInfo;
|
|
|
|
|
|
|
|
LPSTARTUPINFOW InitStartupInfo(CPipe& Pipe);
|
|
|
|
|
|
|
|
public:
|
|
|
|
CPipedProcess(const wstring& CommandLine, CPipe& Pipe);
|
|
|
|
};
|