Re: system()
| From: | Krzysztof Dziekiewicz | Date: | Mon, 06 Jan 2003 16:23:53 +0000 |
| Subject: | Re: system() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130420@lists.php.net to get a copy of this message | ||
> When using the system() function, let's say starting up a program, can that
> program start in the background while the rest of the page is parsed or does
> it have to wait until the system command has finished whatever it is doing?
It is impossible. "system()" is not asynchronous. Only a command
that is executed in "system()" can by asynchronous - system() finishes
but the command continues work on the server. If you need some results of the command
system(<COMMAND>) has to return a handle point that you could use at
the end of the page.
--
Krzysztof Dziekiewicz