摘要:
nohup Python test.py > nohup.out 2>&1 & 发现nohup.out中显示不出来python程序中print的东西。 这是因为python的输出有缓冲,导致nohup.out并不能够马上看到输出。 python 有个-u参数,使得python不启用缓冲。 nohup 阅读全文
posted @ 2017-06-23 11:56
傻傻小菜鸟
阅读(2642)
评论(0)
推荐(2)