Re: creating detached processes in PHP

From: Date: Mon, 22 Nov 2004 13:39:45 +0000
Subject: Re: creating detached processes in PHP
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-13920@lists.php.net to get a copy of this message
I've tried it all, actually, on Win32. "start app" will start another console window for console applications, and wait until it closes. for windowed applications it would wait for the application to finish. same with "start /b app". I would write an implementation myself, but I'm not familiar with the zend api and php source base yet. some day I will... On Mon, 22 Nov 2004 08:29:18 -0500, Wez Furlong <kingwez@gmail.com> wrote: > On Mon, 22 Nov 2004 10:47:10 +0200, ilya77@gmail.com <ilya77@gmail.com> wrote: > > Unfortunately no. > > On win32 for instance, fork() doesn't exist at all. > > > > There is a need for a cross-platform unified interface. > > I suspect that such a thing is a myth in the case of PHP; we already > have cruft following us from the SAPI on fork() that potentially > screws up detached processes on platforms that have it. > > Will "app &" work do what you want on unix and "start app" do what you > want on win32? > > --Wez. >

« previous php.internals (#13920) next »