Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13920 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57227 invoked by uid 1010); 22 Nov 2004 13:39:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57202 invoked from network); 22 Nov 2004 13:39:46 -0000 Received: from unknown (HELO rproxy.gmail.com) (64.233.170.194) by pb1.pair.com with SMTP; 22 Nov 2004 13:39:46 -0000 Received: by rproxy.gmail.com with SMTP id q1so208011rnf for ; Mon, 22 Nov 2004 05:39:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=iEBo32xdv+khPhtob7DOF4yg/k9EgOps7yzlBFNqkcV8RO4MkwN9kEjXefgeKFM5qFn6e0nCboQn6MnAH0OW5W+NUYYVFzWU9EDvks7PRbAD9qakb2BJ3eTPcdBhWGmjkVQwDNq8Z+r3lbuuZlFeUZKtT8xxx6PjWabyBH3zH6A= Received: by 10.38.126.2 with SMTP id y2mr839715rnc; Mon, 22 Nov 2004 05:39:46 -0800 (PST) Received: by 10.38.70.1 with HTTP; Mon, 22 Nov 2004 05:39:45 -0800 (PST) Message-ID: Date: Mon, 22 Nov 2004 15:39:45 +0200 Reply-To: "ilya77@gmail.com" To: Wez Furlong Cc: Jeremy Johnstone , internals@lists.php.net In-Reply-To: <4e89b42604112205293d61014b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <90e24d4e041122003850705ce8@mail.gmail.com> <4e89b42604112205293d61014b@mail.gmail.com> Subject: Re: [PHP-DEV] creating detached processes in PHP From: ilya77@gmail.com ("ilya77@gmail.com") 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 wrote: > On Mon, 22 Nov 2004 10:47:10 +0200, 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. >