Helper class to call process specific functions.
More...
#include <Imt.Base.OS.Linux/Process.h>
Helper class to call process specific functions.
◆ HandlerFunction
Defines the signal handler function signature.
◆ exit()
static void imt::base::os::linux::Process::exit |
( |
int32_t |
exitCode | ) |
|
|
staticnoexcept |
Exits the current process.
- Parameters
-
exitCode | The value to return as exit code |
◆ resetSignalHandler()
static void imt::base::os::linux::Process::resetSignalHandler |
( |
int32_t |
signalNumber | ) |
|
|
staticnoexcept |
Resets the signal handler for the given signal.
- Parameters
-
signalNumber | The signal number |
◆ setSignalHandler()
static void imt::base::os::linux::Process::setSignalHandler |
( |
int32_t |
signalNumber, |
|
|
HandlerFunction |
function |
|
) |
| |
|
staticnoexcept |
Sets the signal handler for the given signal.
- Parameters
-
signalNumber | The signal number |
function | The handler function |
◆ signal()
static void imt::base::os::linux::Process::signal |
( |
int32_t |
signalNumber | ) |
|
|
staticnoexcept |
Signals the given signal number.
- Parameters
-
signalNumber | The signal number |
◆ start()
static void imt::base::os::linux::Process::start |
( |
std::string const & |
command | ) |
|
|
staticnoexcept |
Starts the given executable if it exists.
- Parameters
-
command | The command to be handed over to the system's command processor |
The documentation for this class was generated from the following file:
- C:/src/imt/Imt.Base-cpp/Imt.Base/Imt.Base.OS.Linux/Process.h