-
Notifications
You must be signed in to change notification settings - Fork 11
Run newt.exe as Windows Service #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You should be able to but you'll have to create it manually! Take a look at the following link: https://stackoverflow.com/questions/3582108/create-windows-service-from-executable |
Yes, I tried that. Unfortunately, the service doesn't start. It stays in the "Starting" state and then terminates after 60 seconds. The service would work during those 60 seconds. It seems as if the EXE file isn't transmitting the "started" status to Windows. |
Instead of manually creating the service, have you considered using a tool like nssm (Non-Sucking Service Manager)? It simplifies creating Windows services from executables. It might handle the 'started' status issue automatically. You can find it here: https://nssm.cc/ If you still encounter problems with nssm, please provide the command you used and any error messages. Unfortunately I am not a Windows expert and have not created services before but if we figure this out we could add it to the docs. |
Please reopen if you need further help! |
Hi, is it possible, to run newt.exe including all parameters, as a Windows Service?
The text was updated successfully, but these errors were encountered: