|
std::string_view | launchType () const override final |
| Get launch command type. More...
|
|
Public Member Functions inherited from LaunchCommandInterface |
| LaunchCommandInterface ()=default |
|
virtual | ~LaunchCommandInterface ()=default |
|
virtual pid_t | launchProcess (const nlohmann::json &launcherConfig, const std::string &procCmd, const std::vector< std::string > &envParams, const std::vector< std::string > &startParams, bool appendParentEnv=true, int logFD=-1)=0 |
| Fork a new process for the given engine. Will read environment variables and start params from engineConfig The function should take the environment parameters and start parameters defined in engineConfig, and append any additional strings defined in envParams and startParams before starting the Engine specified in engineConfig. If appendParentEnv is set to true, use the parent environment in the forked child. If set to false, scrub the environment before continuing. More...
|
|
virtual pid_t | stopProcess (unsigned int killWait)=0 |
| Stop a running engine process. More...
|
|
virtual ENGINE_RUNNING_STATUS | getProcessStatus () |
| Get the current engine process status. If status cannot be retrieved, return ENGINE_RUNNING_STATUS::UNKNOWN. More...
|
|
template<const char * LAUNCH_COMMAND>
class LaunchCommand< LAUNCH_COMMAND >
Class for launch commands. Must be specialized further.
- Template Parameters
-
LAUNCH_COMMAND | Name of launch command |