后台运行python脚本

运行

nohup python -u socket_api.py > data.out 2>&1 &

注:data.out 是输出文件

你可能感兴趣的:(#,python之路,python,linux)