I have this code:
Shell_exec( 'sudo python /etc/MACT/temp_alarm.py ' . $channel1 . ' temp' . "> /dev/null 2>/dev/null &" );
It is triggered via the isset from php. When I look at the process on the RPi, I can see two processes running. Any thoughts on why?
Thank you.