process#
Include dependency graph for process.h:
This graph shows which files directly or indirectly include process.h:
todo
Defines
-
__kernel_entry#
-
namespace proc#
-
-
struct ctx_t#
- #include <src/process.h>
pre_cmds — guaranteed to be executed unless any of the commands fail. detached — commands detached from Sunshine cmd — Runs indefinitely until: No session is running and a different set of commands it to be executed Command exits working_dir — the process working directory. This is required for some games to run properly. cmd_output — empty — The output of the commands are appended to the output of sunshine “null” — The output of the commands are discarded filename — The output of the commands are appended to filename
Public Members
-
bool auto_detach#
-
std::string cmd#
-
std::vector<std::string> detached#
Some applications, such as Steam, either exit quickly, or keep running indefinitely. Steam.exe is one such application. That is why some applications need be run and forgotten about
-
bool elevated#
-
std::string id#
-
std::string image_path#
-
std::string name#
-
std::string output#
-
std::string working_dir#
-
bool auto_detach#
-
class proc_t#
Public Functions
-
int execute(int app_id, rtsp_stream::launch_session_t launch_session)#
-
std::string get_app_image(int app_id)#
-
std::string get_last_run_app_name()#
-
proc_t() = default#
-
int running()#
- Returns:
_app_id if a process is running, otherwise returns 0
-
void terminate()#
-
~proc_t()#
-
int execute(int app_id, rtsp_stream::launch_session_t launch_session)#
-
struct ctx_t#