process#
Include dependency graph for process.h:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"32" [label="atomic" tooltip="atomic"]
"12" [label="functional" tooltip="functional"]
"11" [label="filesystem" tooltip="filesystem"]
"23" [label="move_by_copy.h" tooltip="move_by_copy.h"]
"28" [label="variant" tooltip="variant"]
"8" [label="string" tooltip="string"]
"33" [label="map" tooltip="map"]
"24" [label="utility.h" tooltip="utility.h"]
"5" [label="config.h" tooltip="config.h"]
"10" [label="platform/common.h" tooltip="platform/common.h"]
"26" [label="condition_variable" tooltip="condition_variable"]
"15" [label="string_view" tooltip="string_view"]
"6" [label="bitset" tooltip="bitset"]
"20" [label="future" tooltip="future"]
"2" [label="optional" tooltip="optional"]
"9" [label="vector" tooltip="vector"]
"22" [label="utility" tooltip="utility"]
"1" [label="src/process.h" tooltip="src/process.h" fillcolor="#BFBFBF"]
"31" [label="array" tooltip="array"]
"4" [label="boost/process.hpp" tooltip="boost/process.hpp"]
"19" [label="deque" tooltip="deque"]
"3" [label="unordered_map" tooltip="unordered_map"]
"18" [label="task_pool.h" tooltip="task_pool.h"]
"13" [label="mutex" tooltip="mutex"]
"17" [label="thread_pool.h" tooltip="thread_pool.h"]
"7" [label="chrono" tooltip="chrono"]
"29" [label="thread" tooltip="thread"]
"21" [label="type_traits" tooltip="type_traits"]
"34" [label="moonlight-common-c/src/Limelight.h" tooltip="moonlight-common-c/src/Limelight.h"]
"16" [label="boost/log/common.hpp" tooltip="boost/log/common.hpp"]
"25" [label="algorithm" tooltip="algorithm"]
"14" [label="src/main.h" tooltip="src/main.h"]
"27" [label="memory" tooltip="memory"]
"30" [label="thread_safe.h" tooltip="thread_safe.h"]
"23" -> "22" [dir=forward tooltip="include"]
"24" -> "25" [dir=forward tooltip="include"]
"24" -> "26" [dir=forward tooltip="include"]
"24" -> "27" [dir=forward tooltip="include"]
"24" -> "13" [dir=forward tooltip="include"]
"24" -> "2" [dir=forward tooltip="include"]
"24" -> "8" [dir=forward tooltip="include"]
"24" -> "15" [dir=forward tooltip="include"]
"24" -> "21" [dir=forward tooltip="include"]
"24" -> "28" [dir=forward tooltip="include"]
"24" -> "9" [dir=forward tooltip="include"]
"5" -> "6" [dir=forward tooltip="include"]
"5" -> "7" [dir=forward tooltip="include"]
"5" -> "2" [dir=forward tooltip="include"]
"5" -> "8" [dir=forward tooltip="include"]
"5" -> "3" [dir=forward tooltip="include"]
"5" -> "9" [dir=forward tooltip="include"]
"10" -> "6" [dir=forward tooltip="include"]
"10" -> "11" [dir=forward tooltip="include"]
"10" -> "12" [dir=forward tooltip="include"]
"10" -> "13" [dir=forward tooltip="include"]
"10" -> "8" [dir=forward tooltip="include"]
"10" -> "14" [dir=forward tooltip="include"]
"10" -> "30" [dir=forward tooltip="include"]
"10" -> "24" [dir=forward tooltip="include"]
"10" -> "34" [dir=forward tooltip="include"]
"1" -> "2" [dir=forward tooltip="include"]
"1" -> "3" [dir=forward tooltip="include"]
"1" -> "4" [dir=forward tooltip="include"]
"1" -> "5" [dir=forward tooltip="include"]
"1" -> "10" [dir=forward tooltip="include"]
"1" -> "24" [dir=forward tooltip="include"]
"18" -> "7" [dir=forward tooltip="include"]
"18" -> "19" [dir=forward tooltip="include"]
"18" -> "12" [dir=forward tooltip="include"]
"18" -> "20" [dir=forward tooltip="include"]
"18" -> "13" [dir=forward tooltip="include"]
"18" -> "2" [dir=forward tooltip="include"]
"18" -> "21" [dir=forward tooltip="include"]
"18" -> "22" [dir=forward tooltip="include"]
"18" -> "9" [dir=forward tooltip="include"]
"18" -> "23" [dir=forward tooltip="include"]
"18" -> "24" [dir=forward tooltip="include"]
"17" -> "18" [dir=forward tooltip="include"]
"17" -> "29" [dir=forward tooltip="include"]
"14" -> "11" [dir=forward tooltip="include"]
"14" -> "15" [dir=forward tooltip="include"]
"14" -> "16" [dir=forward tooltip="include"]
"14" -> "17" [dir=forward tooltip="include"]
"14" -> "30" [dir=forward tooltip="include"]
"30" -> "31" [dir=forward tooltip="include"]
"30" -> "32" [dir=forward tooltip="include"]
"30" -> "26" [dir=forward tooltip="include"]
"30" -> "12" [dir=forward tooltip="include"]
"30" -> "33" [dir=forward tooltip="include"]
"30" -> "13" [dir=forward tooltip="include"]
"30" -> "9" [dir=forward tooltip="include"]
"30" -> "24" [dir=forward tooltip="include"]
}](../../_images/graphviz-61ed9d4397cf6bdf62400517da4720e6e75b72fb.png)
This graph shows which files directly or indirectly include process.h:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"6" [label="src/stream.cpp" tooltip="src/stream.cpp"]
"1" [label="src/process.h" tooltip="src/process.h" fillcolor="#BFBFBF"]
"5" [label="src/process.cpp" tooltip="src/process.cpp"]
"4" [label="src/main.cpp" tooltip="src/main.cpp"]
"2" [label="src/confighttp.cpp" tooltip="src/confighttp.cpp"]
"3" [label="src/httpcommon.cpp" tooltip="src/httpcommon.cpp"]
"1" -> "2" [dir=back tooltip="include"]
"1" -> "3" [dir=back tooltip="include"]
"1" -> "4" [dir=back tooltip="include"]
"1" -> "5" [dir=back tooltip="include"]
"1" -> "6" [dir=back tooltip="include"]
}](../../_images/graphviz-52a2072ae4a227b9465551a0603adae989b3d30d.png)
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
-
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#
-
std::string cmd#
-
struct ctx_t#