tscpp/node-dependencies

Spawn command detached

tscpp opened this issue · 1 comments

tscpp commented

Use child_process' spawn with option detached true to detach the command from the main process (vs code). If the main process exists in a critical state, it could cause data loss. Just to be fair, when a command is run from vs code's integrated terminal the command will force exit.

tscpp commented

All of the processes should be kept inside the main VSC process.