You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have wrapped a custom application with winsw. My application creates child processes which then go on to create child processes of their own. When the windows service is stopped, some of the child processes get orphaned and thus cannot be stopped.
Steps to reproduce
Create an application that creates at least two levels of child processes below the main application.
Wrap said application with winsw
Install the service
Start the service
Wait for your two levels of child processes to spawn
Stop the service
Environment
WinSW version: v3.0.0-alpha.11
WinSW package type: x64
Windows version: Server 2019
Wrapped executable and version: internal project
Possible Solution
It appears winsw takes a top down approach to stopping the process tree. I believe a bottom up approach will solve the issue.
I have attached the appropriate logs for my issue. myapp.wrapper.log
The text was updated successfully, but these errors were encountered:
I have wrapped a custom application with winsw. My application creates child processes which then go on to create child processes of their own. When the windows service is stopped, some of the child processes get orphaned and thus cannot be stopped.
Steps to reproduce
Environment
Possible Solution
It appears winsw takes a top down approach to stopping the process tree. I believe a bottom up approach will solve the issue.
I have attached the appropriate logs for my issue.
myapp.wrapper.log
The text was updated successfully, but these errors were encountered: