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
Post a Comment