Orphaned child processes when running electronize start #275

Open
opened 2026-01-29 16:35:33 +00:00 by claunia · 0 comments
Owner

Originally created by @The-MAZZTer on GitHub (Feb 10, 2019).

Originally assigned to: @GregorBiswanger on GitHub.

I have launchSettings.json set to run electronize start (it may also happen from the command prompt).

If I run my program and then close the console window in an attempt to stop it, Visual Studio stops debugging and my console closes, but the Electron portion of the app continues running and I can see node and other processes continuing to run in Task Manager.

This can cause problems as if your program is not creating any UI (eg the ready-to-show bug) attempting to run the program again will fail as the compiled DLLs are in use and cannot be built.

Originally created by @The-MAZZTer on GitHub (Feb 10, 2019). Originally assigned to: @GregorBiswanger on GitHub. I have launchSettings.json set to run electronize start (it may also happen from the command prompt). If I run my program and then close the console window in an attempt to stop it, Visual Studio stops debugging and my console closes, but the Electron portion of the app continues running and I can see node and other processes continuing to run in Task Manager. This can cause problems as if your program is not creating any UI (eg the ready-to-show bug) attempting to run the program again will fail as the compiled DLLs are in use and cannot be built.
claunia added the help wantedquestion labels 2026-01-29 16:35:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#275