#include <userver/engine/subprocess/child_process_status.hpp>
status of finished subprocess
Definition at line 16 of file child_process_status.hpp.
Public Types | |
enum class | ExitReason { kExited , kSignaled } |
Public Member Functions | |
ChildProcessStatus (int status, std::chrono::milliseconds execution_time) | |
ExitReason | GetExitReason () const |
bool | IsExited () const |
int | GetExitCode () const |
can be called if IsExited() returns true | |
bool | IsSignaled () const |
int | GetTermSignal () const |
can be called if IsSignaled() returns true | |
std::chrono::milliseconds | GetExecutionTime () const |
Returns execution time for subprocess + time to start it with execve() | |
|
strong |
Definition at line 20 of file child_process_status.hpp.
|
inline |
Returns execution time for subprocess + time to start it with execve()
Definition at line 35 of file child_process_status.hpp.
|
inline |
Definition at line 22 of file child_process_status.hpp.
|
inline |
Definition at line 24 of file child_process_status.hpp.
|
inline |
Definition at line 29 of file child_process_status.hpp.