当前位置:网站首页>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 .
边栏推荐
- [LINUX]CentOS 7 安装MYSQL时报错“No package mysql-server available“No package zabbix-server-mysql availabl
- Setinterval CPU intensive- Is setInterval CPU intensive?
- G1 garbage collector of garbage collector
- 2022-2028 global solid phase extraction column industry research and trend analysis report
- English语法_名词 - 分类
- ES7 - Optimization of promise
- English grammar_ Noun classification
- What London Silver Trading software supports multiple languages
- Solve the problem of inaccurate network traffic monitored by ZABBIX with SNMP
- Closure and closure function
猜你喜欢

2022-2028 global marking ink industry research and trend analysis report

2022-2028 global plasmid DNA cdmo industry research and trend analysis report

Raft log replication

What London Silver Trading software supports multiple languages
![[enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)](/img/50/f89092b492d0138304209a72ff05b4.jpg)
[enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)

How to draw non overlapping bubble chart in MATLAB

Have you learned the correct expression posture of programmers on Valentine's day?

Win32: analyse du fichier dump pour la défaillance du tas

win32:堆破坏的dump文件分析

How do microservices aggregate API documents? This wave of operation is too good
随机推荐
Computer graduation project PHP library book borrowing management system
统计图像中各像素值的数量
SQL injection -day16
Sensor 调试流程
English grammar_ Noun classification
图像24位深度转8位深度
Redis cache avalanche, penetration, breakdown
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
Theoretical description of linear equations and summary of methods for solving linear equations by eigen
English语法_名词 - 分类
[combinatorics] exponential generating function (proving that the exponential generating function solves the arrangement of multiple sets)
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
[enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)
A. Odd Selection【BruteForce】
模块九作业
A. Berland Poker & 1000 [simple mathematical thinking]
AcWing 271. Teacher Yang's photographic arrangement [multidimensional DP]
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
Codeforces Round #803 (Div. 2) C. 3SUM Closure
Golang string (string) and byte array ([]byte) are converted to each other