Re: creating detached processes in PHP
| From: | ilya77@gmail.com | Date: | Mon, 22 Nov 2004 08:47:10 +0000 |
| Subject: | Re: creating detached processes in PHP | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13917@lists.php.net to get a copy of this message | ||
Unfortunately no.
On win32 for instance, fork() doesn't exist at all.
There is a need for a cross-platform unified interface.
P.S. please always "reply to all"
On Mon, 22 Nov 2004 02:38:41 -0600, Jeremy Johnstone <phpdev@gmail.com> wrote:
> If I am following you right, wouldn't a fork() followed by an exec
> (one of the many forms) do what you're needing?
>
> ---------------------------
> Jeremy Johnstone
> http://www.jeremyjohnstone.com
> jsjohnst@php.net
>
>
>
>
> On Sun, 21 Nov 2004 18:02:51 +0200, ilya77@gmail.com <ilya77@gmail.com> wrote:
> > PHP has system() and shell_execute(), but how about spawn() ?
> >
> > Currently we can only create an asynchronous process only with
> > proc_open() or popen(), and then I have to track the pipe(s).
> >
> > It would be great to "exec and let go" the process.
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
>