windows_service: quote service executable path

This commit is contained in:
selsta
2026-02-24 16:08:45 +01:00
committed by t1amak
parent 1faceec415
commit a3b721551b

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(