Stop Python Program After Autostarted in rc.local with all i - Raspberry Pi Forums
i have python program wich nicely autostarts after power on. therefore put in line: before said, works perfectly, how can stop program? keyboard on usb-port not reacting on smthg, , via ssh can login or , nothing happen. wouldn't "kill" process because there several subprocesses running, i'd end when program stops. far understand "kill" doesnt end subprocesses right?
has idea? @ moment can see running program on pi hdmi port shows video.
code: select all
rc.local
code: select all
/home/pi/pythonprogramm.py
code: select all
exit 0
code: select all
root
code: select all
pi
has idea? @ moment can see running program on pi hdmi port shows video.
some bedtime reading you: tl;dr: can send "keyboard interrupt" signal process using kill -int <pid>
code: select all
$ man kill $ man 7 signal $ kill -l
raspberrypi
Comments
Post a Comment