windows_service: quote service executable path

This commit is contained in:
selsta
2026-02-24 16:08:45 +01:00
parent 4efde0f4da
commit 62a3214d34

View File

@@ -169,7 +169,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(