Here's the scenario:
From a php created webpage, I'd like to open some sort of terminal window that runs a python script. My python script includes a progress indicator ("command line" type) and then close the window after the script is finished.
The problem I've seen with calling shell or shellexec from PHP is any output from the called script is not displayed until control is returned to the calling php script, hence why I want to do something like this
From a php created webpage, I'd like to open some sort of terminal window that runs a python script. My python script includes a progress indicator ("command line" type) and then close the window after the script is finished.
The problem I've seen with calling shell or shellexec from PHP is any output from the called script is not displayed until control is returned to the calling php script, hence why I want to do something like this