nohup 后台运行命令(关闭shell也不会终止)

  1. nohup npm run start >run.log 2>&1 & 
  2. 回车
  3. 输入exit命令退出终端
  4. 关闭shell

你可能感兴趣的:(linux)