Engine → Core → process.h
process_result
Syntax
Variables
| Access | Name | Type | Default | Description |
| public | elapsedSeconds | f64 | 0 | Seconds between the launch and the child's exit as observed by wait(). |
| public | exitCode | i32 | 0 | The child's exit code. process::KILLED_EXIT_CODE when it was killed by kill() or by the timeout, and also when the exit status could not be obtained (POSIX: the host ignores SIGCHLD or reaped the child itself); on POSIX a death by another signal reports the negated signal number. A child that exited on its own keeps its code even when the timeout later kills the descendants it left behind (timedOut is set in that case too). |
| public | standardError | std::string | {} | Captured standard error not yet consumed through read_error(), byte for byte. |
| public | standardOutput | std::string | {} | Captured standard output not yet consumed through read_output(), byte for byte. |
| public | timedOut | bool | false | True when the child was killed because process_desc::timeoutSeconds elapsed. |