The program is work in Raspberry Pi using Rasbian Stretch. I have python script with TensorFlow object detection. Now I am using CakePHP to implement the website. In the CakePHP, I want to run the python script, but it only shows the text before TensorFlow library in the python script. It cannot display the output of my TensorFlow detection, any solution? I am using exec() to call the python. The system() and shellescape() doesn't work.