libnick 2024.12.0
A cross-platform base for native Nickvision applications.
|
An event argument for when a process has exited. More...
#include <processexitedeventargs.h>
Public Member Functions | |
ProcessExitedEventArgs (int exitCode, const std::string &output) | |
Constructs a ProcessExitedEventArgs. | |
int | getExitCode () const |
Gets the exit code of the process. | |
const std::string & | getOutput () const |
Gets the console output of the process. | |
Public Member Functions inherited from Nickvision::Events::EventArgs | |
EventArgs ()=default | |
Constructs an EventArgs. | |
An event argument for when a process has exited.
Nickvision::System::ProcessExitedEventArgs::ProcessExitedEventArgs | ( | int | exitCode, |
const std::string & | output ) |
Constructs a ProcessExitedEventArgs.
exitCode | The exit code of the process |
output | The console output of the process |
int Nickvision::System::ProcessExitedEventArgs::getExitCode | ( | ) | const |
Gets the exit code of the process.
const std::string & Nickvision::System::ProcessExitedEventArgs::getOutput | ( | ) | const |
Gets the console output of the process.