Warning: Illegal string offset 'top' in /www/wwwroot/hellyhua.com/wp-content/themes/Snape/single.php on line 45
开始误以为只要在运行程序后加 & 就可以后台运行,然后关闭了Putty仍然可以运行了 其实不然,实际上此时的后台运行只是没有在命令行界面显示,而退出的话仍然会关闭进程 1. 在运行程序的时候加上 unhop命令即可,如下 : nohup command ….. & 此时关闭Putty后仍能运行了 2. 可以选择在后台运行的时候输入到一个log文件中,并且要求后台运行,则也可以保证后台运行,命令如下: : command 参数 >run.log 2>&1 & 也可以有相同的结果 |
Warning: Illegal string offset 'footer' in /www/wwwroot/hellyhua.com/wp-content/themes/Snape/single.php on line 49
谢谢分享,学习了