赞
踩
sleep 10 su pi -c “exec /home/pi/Desktop/start.sh >> /home/pi/Desktop/002.txt”
cd /home/pi/Desktop python3 test.py
原文 自启的程序没有控制台输出,需要重定向输出 参考:原文