MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / resolve_command_string

Function resolve_command_string

src/platform/windows/misc.cpp:762–965  ·  view source on GitHub ↗

* @brief Resolve the given raw command into a proper command string for CreateProcess(). * @details This converts URLs and non-executable file paths into a runnable command like ShellExecute(). * @param raw_cmd The raw command provided by the user. * @param working_dir The working directory for the new process. * @param token The user token currently being impersonated or `nullptr` if

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

run_commandFunction · 0.85

Calls 9

from_utf8Function · 0.85
hexFunction · 0.85
escape_argumentFunction · 0.85
escape_argument_for_cmdFunction · 0.85
emptyMethod · 0.80
to_string_viewMethod · 0.80
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected