Call Python in background from PHP and get output -


i calling long-running python script inside php using exec command. works, , can output using $output parameter exec command. however, php page starts loading bar while exec command running , can't update ui in meantime. basically, trying create loading bar python scripts execution, needs update. doesn't need update based on actual loading time, keep user occupied, know happening.

how can start python process, , of output, still have php page able other things @ same time?


Comments

Popular posts from this blog

asp.net mvc - Cannot display error message on Editor or EditorFor -

Reliable way to get Windows Version from registry -

python - No exponential form of the z-axis in matplotlib-3D-plots -