Go to the documentation of this file.
18 #ifndef __LIB_LIBAPP_APPLICATIONLAUNCHER_H
19 #define __LIB_LIBAPP_APPLICATIONLAUNCHER_H
const ProcessID getPid() const
Retrieve Process Identifier of the program.
Result terminate() const
Terminate the program.
ApplicationLauncher(const char *path, const char **argv)
Constructor.
const String m_path
Absolute path to the program to run.
const char ** m_argv
Array with pointers to program arguments.
u32 ProcessID
Process Identification Number.
Result wait()
Wait for the program to terminate.
Result exec()
Runs the external program.
ProcessID m_pid
PID of the DatastoreServer.
const int getExitCode() const
Retrieve exit code of the program.
Helper class to launch an external program.
int m_exitCode
Exit code after the program has terminated.