Sudo_file = "sudo python /home/pi/picamstream-sudo. Sudo_file = "sudo python /home/pi/picamstream-sudo.py 0 &" Streaming_file = "/home/pi/streaming.txt" If you want to see the scripts that use this trick, they are picamstreamer.py and picamstream-sudo.py below… Script 1 picamstreamer.py It’s a ‘cludgy’ workaround, but it works, and it made me feel very clever for a while because I made it do what I wanted it to do.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |