04-22-2020, 03:19 PM
got the command, but I don't know how to integrate......
echo(exec('python /home/pi/stop.py 2>&1'));
echo(exec('python /home/pi/play.py 2>&1'));
echo(exec('python /home/pi/stop.py 2>&1'));
echo(exec('python /home/pi/play.py 2>&1'));