【发布时间】:2017-11-16 13:20:04
【问题描述】:
我是使用 Linux 的初学者。 我已经通过 Windows 终端在服务器中运行程序。
# gitbook build &
# ng serve &
但是当我退出终端窗口时,它以 gitbook,anguler 结束。 我怎样才能让它继续下去? 我想知道最常用的方法。
【问题讨论】:
-
nohup gitbook build &或gitbook build &; disown?另请参阅How can I close a terminal without killing the command running in it?。 -
命令也终止了。对不起,我没有正确地回答问题。我已经通过 Windows 终端在服务器中运行程序。但是,当我关闭终端窗口时,所有程序都一起结束了。看起来您正在使用永久、pm2 或注册服务之类的工具。
-
@birryree 谢谢。我可以解决它。
标签: linux angular background gitbook