8 #include "cmd_line.hpp"
10 #include "process_io.hpp"
11 #include "resource.hpp"
13 #include <boost/optional.hpp>
25 enum ConsoleCreationMode {
34 boost::optional<process::IO> io;
35 ConsoleCreationMode console_mode = ConsoleNew;
42 params.verb =
"runas";
48 boost::optional<std::string> verb;
117 static HMODULE get_exe_module();
Command line for the current process or for launching new processes.
Create a new process or open an existing process.
void terminate(int ec=0) const
void shut_down(int ec=0) const
const Handle & get_handle() const
int get_exit_code() const
static Process open(ID id, DWORD permissions=default_permissions())
static Resource get_resource(uint32_t id)
static DWORD read_permissions()
static DWORD default_permissions()
static Process create(ProcessParameters)
std::string get_exe_path() const
static Process shell(const ShellParameters &)
static std::string get_resource_string(uint32_t id)
static Process open_r(ID)
Process parameters for Process::create().
Resources embedded in a PE (Portable Executable).
Process parameters for Process::shell().
Child process IO settings.