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

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

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -