方法一
nohup python -u gm_server/gm_server2.pyc >>logs/gm_server2.log 2>&1 &
实际测试是ok的
方法二
export PYTHONUNBUFFERED=1
nohup python gm_server/gm_server2.pyc >>logs/gm_server2.log 2>&1 &
方法一
nohup python -u gm_server/gm_server2.pyc >>logs/gm_server2.log 2>&1 &
实际测试是ok的
方法二
export PYTHONUNBUFFERED=1
nohup python gm_server/gm_server2.pyc >>logs/gm_server2.log 2>&1 &