mirror of http://git.nssm.cc/nssm/nssm.git
Legacy quick'n'dirtiness.
On Windows 2000, StartService() and ControlService() return ERROR_IO_PENDING immediately. Later versions of Windows have a builtin timeout before they will return that error. As far as we're concerned, ERROR_IO_PENDING indicates that the service control was sent successfully so we simply override the error and return success. If NSSM's service management functionality is ever expanded we can take the time to handle service controls in a more robust way.master
parent
121d394369
commit
67795adae0
Loading…
Reference in New Issue