-
Notifications
You must be signed in to change notification settings - Fork 165
Child processes are not terminated #195
Comments
This is surprising. I would expect VSCode to always send an |
Taken from VS Code issue #948:
Or more officially from VS Code docs:
Sounds feasible, but I'm not sure if interrupting |
I discovered VS Code issue #11895 and a repository to test issues related to limited deactivation time. Things get even worse with process hierarchies seemly having platform depended behavior (see detached). I think I'll just write a wrapper that does the right thing and replace all instances of |
I've tried to implement it (commit), but apparently this is a lot harder to get right than I thought:
|
One solution might be to use tree-kill. |
This still happens. I have two windows 10 machines that end up with multiple |
I am also still bugged by this from time to time. I think I'll give it another try the next couple of days using |
I can reproduce this by hitting |
Judging from the sources no child process seems to get killed if VS code exits - this is especially annoying if
rls
hangs on a laptop eating up battery unnoticed (e.g. #186 and friends). I guess one way to fix this would be by adding an exit handler like this:The question is if you want to do this for all child processes or at all.
The text was updated successfully, but these errors were encountered: