paul- wrote: 
> The script has to run with root permissions, as it make a call to
> vcgencmd, which requires it.

I changed the second user script to "sudo python3
/home/tc/argononed.py", but I am still getting the message that vcgencmd
is not found.
Should I change the call:

Code:
--------------------
    temp = os.popen("vcgencmd measure_temp").readline()
--------------------

into

Code:
--------------------
    temp = os.popen("sudo vcgencmd measure_temp").readline()
--------------------

?


------------------------------------------------------------------------
carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=111546

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to