|
| constexpr | ProcessRef (ProcessRaw resource) noexcept |
| | Constructs from raw Process.
|
| constexpr | ProcessRef (const Process &resource) noexcept |
| | Constructs from Process.
|
| constexpr | ProcessRef (Process &&resource) noexcept |
| | Constructs from Process.
|
|
constexpr | ProcessRef (const ProcessRef &other) noexcept |
| | Copy constructor.
|
|
constexpr | ProcessRef (ProcessRef &&other) noexcept |
| | Move constructor.
|
|
| ~ProcessRef () |
| | Destructor.
|
|
ProcessRef & | operator= (const ProcessRef &other) noexcept |
| | Assignment operator.
|
|
constexpr | operator ProcessRaw () const noexcept |
| | Converts to ProcessRaw.
|
|
constexpr | Process (std::nullptr_t=nullptr) noexcept |
| | Default ctor.
|
| constexpr | Process (ProcessRaw resource) noexcept |
| | Constructs from raw Process.
|
|
constexpr | Process (const Process &other) noexcept=delete |
| | Copy constructor.
|
|
constexpr | Process (Process &&other) noexcept |
| | Move constructor.
|
|
constexpr | Process (const ProcessRef &other)=delete |
|
constexpr | Process (ProcessRef &&other)=delete |
| | Process (const char *const *args, bool pipe_stdio) |
| | Create a new process.
|
| | Process (PropertiesRef props) |
| | Create a new process with the specified properties.
|
|
constexpr | Process (std::nullptr_t=nullptr) noexcept |
| | Default ctor.
|
| constexpr | Process (ProcessRaw resource) noexcept |
| | Constructs from raw Process.
|
|
constexpr | Process (const Process &other) noexcept=delete |
| | Copy constructor.
|
|
constexpr | Process (Process &&other) noexcept |
| | Move constructor.
|
|
constexpr | Process (const ProcessRef &other)=delete |
|
constexpr | Process (ProcessRef &&other)=delete |
| | Process (const char *const *args, bool pipe_stdio) |
| | Create a new process.
|
| | Process (PropertiesRef props) |
| | Create a new process with the specified properties.
|
|
| ~Process () |
| | Destructor.
|
|
constexpr Process & | operator= (Process &&other) noexcept |
| | Assignment operator.
|
|
Process & | operator= (const Process &other)=delete |
| | Assignment operator.
|
|
constexpr ProcessRaw | get () const noexcept |
| | Retrieves underlying ProcessRaw.
|
|
constexpr ProcessRaw | release () noexcept |
| | Retrieves underlying ProcessRaw and clear this.
|
|
constexpr auto | operator<=> (const Process &other) const noexcept=default |
| | Comparison.
|
|
constexpr | operator bool () const noexcept |
| | Converts to bool.
|
| void | Destroy () |
| | Destroy a previously created process object.
|
| PropertiesRef | GetProperties () const |
| | Get the properties associated with a process.
|
| StringResult | Read (int *exitcode=nullptr) |
| | Read all the output from a process.
|
| template<class T> |
| OwnArray< T > | ReadAs (int *exitcode=nullptr) |
| | Read all the output from a process.
|
| IOStreamRef | GetInput () |
| | Get the IOStream associated with process standard input.
|
| IOStreamRef | GetOutput () |
| | Get the IOStream associated with process standard output.
|
| void | Kill (bool force) |
| | Stop a process.
|
| bool | Wait (bool block, int *exitcode) |
| | Wait for a process to finish.
|
Reference for Process.
This does not take ownership!