windows_service: quote service executable path

This commit is contained in:
selsta
2026-02-24 16:16:09 +01:00
parent dbcc7d212c
commit 5312158756
+1 -1
View File
@@ -172,7 +172,7 @@ bool install_service(
) )
{ {
std::string command = epee::string_tools::get_current_module_path(); 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{ service_handle p_manager{
OpenSCManager( OpenSCManager(