Is subprocess the equivalent of PHP’s popen ?
Need to get live feedback from a command line process and send it back to the webpage via javascript fetch to update the progress.
Is subprocess the equivalent of PHP’s popen ?
Need to get live feedback from a command line process and send it back to the webpage via javascript fetch to update the progress.
Subprocess is a module.
The run method in subprocess is closer to proc_open than popen.