* Exit status of this subprocess captured as a Future (completed * when the subprocess exits). * * On Posix, the exit status is propagated from an underlying call * to `waitpid` and can be used with macros defined in wait.h, i.e., * `WIFEXITED(status)`. * * On Windows, the exit status contains the exit code from an * underlying call to `GetExitCodeProcess()`. * * TODO
| 287 | * Note that `process::reap()` never fails or discards this future. |
| 288 | */ |
| 289 | Future<Option<int>> status() const { return data->status; } |
| 290 | |
| 291 | private: |
| 292 | friend Try<Subprocess> subprocess( |
no outgoing calls