ktsirig Posted February 13, 2011 Share Posted February 13, 2011 Hello! I am executing an external command from a PHP script, using the exec function. Since this program can take more than 1-2 minutes to run, I thought I should use a "Loading page...please wait". What I need is to be able to get the process id from the external program that is being run and, when this finishes, I'll start outputting the results. Is there a way to do this? Link to comment https://forums.phpfreaks.com/topic/227526-how-to-find-process-id-from-external-command-and-use-it-for-loading-page/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.