diff --git a/smp_init.sh b/smp_init.sh index d53cc1f..9f642a9 100644 --- a/smp_init.sh +++ b/smp_init.sh @@ -43,5 +43,5 @@ echo "要退出虚拟环境,请运行 'deactivate'" # 运行第一关的mqtt_client.py -nohp sudo $env_dir/bin/python3 smp_coder/mqtt_client.py > log.txt 2>&1 & +nohup sudo $env_dir/bin/python3 smp_coder/mqtt_client.py > log.txt 2>&1 &