42 [[nodiscard]]
auto start(std::filesystem::path
const& executablePath, std::vector<std::string>
const& arguments) -> std::error_code;
51 [[nodiscard]]
auto kill(uint32_t
const exitCode) -> std::error_code;
55 [[nodiscard]]
auto wait() -> std::expected<PlatformExitStatus, std::error_code>;
58 pid_t _processId{ -1 };
PlatformExitKind
The kind of raw exit status reported by the OS for a completed process.
Definition process.hxx:17
@ Exited
The process ran to completion, or was force-stopped with an OS-reported exit code.
@ Signaled
The process was stopped by a signal, with no OS-reported exit code.