运行bee run或者tomcat的时候需要后台运行
nohup ./xxx.sh run &
如果遇到
nohup: ignoring input and appending output to ‘nohup.out’
或者:
nohup: failed to run command `xxx.sh’: Permission denied
运行
nohup ./xxx.sh > /dev/null 2> /dev/null &
运行bee run或者tomcat的时候需要后台运行
nohup ./xxx.sh run &
如果遇到
nohup: ignoring input and appending output to ‘nohup.out’
或者:
nohup: failed to run command `xxx.sh’: Permission denied
运行
nohup ./xxx.sh > /dev/null 2> /dev/null &
本文标题:后台运行进程
本文链接:https://www.haomeiwen.com/subject/fjmbmqtx.html
网友评论