Re: Execute programs
| From: | Bas | Date: | Sat, 22 Nov 2003 12:52:42 +0000 |
| Subject: | Re: Execute programs | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170666@lists.php.net to get a copy of this message | ||
"John Nichel" <jnichel@by-tor.com> wrote in message
news:3FBF5BAD.7000708@by-tor.com...
> Bas wrote:
>
> > How do i execute a program and leave it running and while it is running
the
> > php-script is still continued and outputs HTML when the other program is
> > still running.
> >
> > I need that is works on windows.
> >
>
> Oh, oh....manual....
>
> http://www.php.net/manual/en/ref.exec.php
>
> --
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com
I've read the manual, but it says this:
Note:
If you start a program using this function and want to leave it running in
the background, you have to make sure that the output of that program is
redirected to a file or some other output stream or else PHP will hang until
the execution of the program ends.