Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly quote sc.exe create's binPath argument
If the binPath isn't quoted, sc.exe will first look for a file at C:\Program. Starting that will yield CreateProcess error 193 (aka invalid Win32 program). By properly quoting the binPath, we guarantee that the correct file will be loaded.
- Loading branch information