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.
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.