tscpp / node-dependencies

Tree view of all node dependencies in workspace
Other
0 stars 0 forks source link

Spawn command detached #4

Closed tscpp closed 4 years ago

tscpp commented 4 years ago

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 4 years ago

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