windows_service: quote service executable path

(cherry picked from commit 53121587562af1abef3680060c240068a1ff2c97)
This commit is contained in:
selsta
2026-05-05 18:19:53 -04:00
committed by jwinterm
parent 8ac909841b
commit 4636e3416f
+1 -1
View File
@@ -172,7 +172,7 @@ bool install_service(
)
{
std::string command = epee::string_tools::get_current_module_path();
std::string full_command = command + arguments;
std::string full_command = "\"" + command + "\"" + arguments;
service_handle p_manager{
OpenSCManager(