|
FlatImage
A configurable Linux containerization system
|
Child process management and execution. More...
Namespaces | |
| namespace | ns_pipe |
| Inter-process pipe management. | |
| namespace | stream |
| Custom stream redirection for child process stdio. | |
Classes | |
| struct | ArgsCallbackChild |
| Arguments passed to child callback. More... | |
| struct | ArgsCallbackParent |
| Arguments passed to parent callback. More... | |
| class | Child |
| Handle to a spawned child process. More... | |
| class | Subprocess |
Enumerations | |
| enum class | Stream { Inherit , Pipe , Null } |
| Stream redirection modes for child process stdio. More... | |
Functions | |
| std::unique_ptr< const char *[]> | to_carray (std::vector< std::string > const &vec) |
| Converts a vector of strings to a null-terminated C-style array for execve. | |
Child process management and execution.
Provides comprehensive subprocess spawning and management with configurable stdio redirection (Pipe/Null/Inherit), environment variable injection, death signal configuration (PR_SET_PDEATHSIG), daemon mode, and log file integration. Supports both synchronous and asynchronous process execution with proper cleanup.
|
strong |
Stream redirection modes for child process stdio.
Definition at line 49 of file subprocess.hpp.
|
inline |
Converts a vector of strings to a null-terminated C-style array for execve.
| vec | Vector of strings to convert |
Definition at line 100 of file subprocess.hpp.