【发布时间】:2013-06-04 07:25:33
【问题描述】:
在我的 python 脚本中,我有这个:
count = 0
while 1:
print count
count += 1
我保存了这个文件并运行了它。
nohup python count.py >> test.log &
$tail -f test.log
当我尾随它时什么都没有显示。
【问题讨论】:
-
我运行了你的脚本并做了一个尾巴......它工作得很好。你还有其他事情要发生。
标签: python linux ubuntu logging