Classes | |
class | SystemProcessKilledErrorInterface |
class | SystemProcessOperationErrorInterface |
class | SystemProcessObjectInterface |
class | SystemProcessInterface |
Namespaces | |
maxon | |
Typedefs | |
using | ExecuteProgramCallback = Int32(*)(SystemProcessObjectRef processRef, EXECUTEPROGRAMCALLBACK cmd, void *userdata, const Url &logfile) |
Enumerations | |
enum class | EXECUTEPROGRAMFLAGS { NONE , CAPTURELOGFILE , DONT_DELETE_LOGFILE , HIDE_APPLICATION } |
enum class | EXECUTEPROGRAMCALLBACK { STARTED , RUNNING , FINISHED , KILLED , CLEANUP_OK , CLEANUP_FAILED } |
enum class | WAIT_PROCESS_RESULT { FINISHED , RUNNING } |
Functions | |
enum maxon::EXECUTEPROGRAMFLAGS | MAXON_ENUM_FLAGS (EXECUTEPROGRAMFLAGS) |
enum maxon::EXECUTEPROGRAMCALLBACK | MAXON_ENUM_LIST (EXECUTEPROGRAMCALLBACK) |
enum maxon::WAIT_PROCESS_RESULT | MAXON_ENUM_LIST (WAIT_PROCESS_RESULT) |
MAXON_DECLARATION (Class< SystemProcessObjectRef >, SystemProcessObjectClass, "net.maxon.class.systemprocessobject", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
Variables | |
NONE | |
CAPTURELOGFILE | |
DONT_DELETE_LOGFILE | |
HIDE_APPLICATION | |
STARTED | |
RUNNING | |
FINISHED | |
KILLED | |
CLEANUP_OK | |
CLEANUP_FAILED | |
NONE |
CAPTURELOGFILE |
The standard output will be routed into a file.
DONT_DELETE_LOGFILE |
The logfile will not be deleted at the end of the call.
HIDE_APPLICATION |
Starts the application in hidden mode (e.g. suppresses the console window when running under windows).
STARTED |
Program started regular.
RUNNING |
< Process is still running.
Program is running, this callback comes every second. return 0 to continue. return 'stop' to kill the running process.
FINISHED |
Program finish.
Process has finished.
KILLED |
Program finish with signal kill.
CLEANUP_OK |
Cleanup phase (succeeded case), here the logfile should be deleted!
CLEANUP_FAILED |
Cleanup phase (failed case), here the logfile should be deleted!