当前位置:网站首页>After nohup NPM start &, close the shell window directly, and the process closes accordingly
After nohup NPM start &, close the shell window directly, and the process closes accordingly
2022-07-03 18:33:00 【-Abu-】
nohup npm start & And then it's shut down shell window , The process shuts down .
Refer to this blog :nohup After exiting the terminal, the program continues to run in the background _nsj820 The column -CSDN Blog _nohup Turn off the terminal
After executing the above command , Then enter any key to return to shell in , Use exit Command exit , Instead of closing the whole shell Program , It can ensure that the back-end of the program runs normally .
Pick up the key paragraph in the blog above :
When shell There's a hint in nohup After success , You also need to press any key on the keyboard on the terminal to return to shell Input command window , And then through the shell Input in exit To exit the terminal ; If in nohup After successful execution, click the close program button to close the terminal , At this time, the corresponding session, Lead to nohup The corresponding process is notified that it needs to work together shutdown, It can not play the role of calling the program to continue running in the background after closing the terminal .
边栏推荐
- 189. Rotation array
- [Godot] add menu button
- Torch learning notes (4) -- torch's dynamic calculation diagram
- [combinatorics] generating function (positive integer splitting | basic model of positive integer splitting | disordered splitting with restrictions)
- 2022-2028 global petroleum pipe joint industry research and trend analysis report
- Codeforces Round #803 (Div. 2) C. 3SUM Closure
- Setinterval CPU intensive- Is setInterval CPU intensive?
- Reappearance of ASPP (atlas spatial pyramid pooling) code
- [combinatorics] generating function (property summary | important generating function)*
- Summary and Reflection on the third week of winter vacation
猜你喜欢
Nodejs (01) - introductory tutorial
2022-2028 global plasmid DNA cdmo industry research and trend analysis report
English grammar_ Noun classification
Theoretical description of linear equations and summary of methods for solving linear equations by eigen
Why can deeplab v3+ be a God? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
Redis cache avalanche, penetration, breakdown
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
English语法_名词 - 分类
How do microservices aggregate API documents? This wave of operation is too good
Redis core technology and practice - learning notes (11): why not just string
随机推荐
[Tongxin UOS] scanner device management driver installation
webcodecs
Computer graduation project PHP library book borrowing management system
2022-2028 global plasmid DNA cdmo industry research and trend analysis report
189. Rotation array
圖像24比特深度轉8比特深度
Redis cache avalanche, penetration, breakdown
CTO and programmer were both sentenced for losing control of the crawler
Should I be laid off at the age of 40? IBM is suspected of age discrimination, calling its old employees "dinosaurs" and planning to dismiss, but the employees can't refute it
网格图中递增路径的数目[dfs逆向路径+记忆dfs]
Reappearance of ASPP (atlas spatial pyramid pooling) code
Usage of laravel conditional array in
Prototype inheritance..
AcWing 271. Teacher Yang's photographic arrangement [multidimensional DP]
Computer graduation design PHP campus address book telephone number inquiry system
Recent learning experience
English语法_名词 - 分类
[combinatorics] generating function (use generating function to solve the number of solutions of indefinite equation example 2 | extended to integer solution)
[combinatorics] generating function (use generating function to solve the combination number of multiple sets R)
Redis core technology and practice - learning notes (IX): slicing cluster