diff --git a/Main.cs b/Main.cs index c15aa83..415c7aa 100644 --- a/Main.cs +++ b/Main.cs @@ -923,7 +923,7 @@ namespace winsw svc.Create( d.Id, d.Caption, - ServiceDescriptor.ExecutablePath, + "\""+ServiceDescriptor.ExecutablePath+"\"", WMI.ServiceType.OwnProcess, ErrorControl.UserNotified, StartMode.Automatic,