17 #ifndef LIB_WINSS_PROCESS_HPP_ 18 #define LIB_WINSS_PROCESS_HPP_ 44 PROCESS_INFORMATION proc_info;
67 virtual DWORD GetProcessId()
const;
74 virtual DWORD GetExitCode()
const;
81 virtual bool IsCreated()
const;
88 virtual bool IsActive()
const;
111 virtual void SendBreak();
118 virtual void Terminate();
123 virtual void Close();
142 #endif // LIB_WINSS_PROCESS_HPP_ A wrapper for a Windows HANDLE.
Definition: handle_wrapper.hpp:39
std::string dir
Start the process in this directory.
Definition: process.hpp:32
Parameters to start a Windows process.
Definition: process.hpp:29
Manages the life cycle of a process.
Definition: process.hpp:42
bool create_group
Create a new process group or not.
Definition: process.hpp:31
Definition: case_ignore.hpp:23
winss::HandleWrapper stderr_pipe
STDERR pipe.
Definition: process.hpp:34
Base environment.
Definition: environment.hpp:30
std::string cmd
The command and arguments.
Definition: process.hpp:30
winss::Environment * env
The process environment.
Definition: process.hpp:36
winss::HandleWrapper stdin_pipe
STDIN pipe.
Definition: process.hpp:35
winss::HandleWrapper stdout_pipe
STDOUT pipe.
Definition: process.hpp:33