|
Stops or kills applications on Linux based on their pid. This ApplicationStopper stops (kill -15) or kills (kill -9) application processes on Linux. It should not be used on other operating systems, due to the usage of system calls. More...
#include <ArmarXCore/util/ScenarioManagerCommon/executor/PidStopperLinux.h>
Public Member Functions | |
void | kill (Data_Structure::ApplicationInstancePtr application) override |
Kills an application based on its pid. More... | |
void | stop (Data_Structure::ApplicationInstancePtr application) override |
Stops an application based on its pid. More... | |
Stops or kills applications on Linux based on their pid. This ApplicationStopper stops (kill -15) or kills (kill -9) application processes on Linux. It should not be used on other operating systems, due to the usage of system calls.
Definition at line 40 of file PidStopperLinux.h.
|
overridevirtual |
Kills an application based on its pid.
Uses kill -9.
application | application to be killed |
Implements ApplicationStopper.
Definition at line 47 of file PidStopperLinux.cpp.
|
overridevirtual |
Stops an application based on its pid.
Uses kill -15.
application | application to be killed |
Implements ApplicationStopper.
Definition at line 34 of file PidStopperLinux.cpp.