Xshell exits to keep the node project running

nohup node test.js &

After running, press any key to exit and wait for input, you can continue to do other things, but when you exit at the end, you cannot directly close Xshell, you must disconnect by typing exit, and then close Xshell

Guess you like

Origin blog.csdn.net/u012149637/article/details/93751136