Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65706 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5806 invoked from network); 7 Feb 2013 08:33:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2013 08:33:30 -0000 Authentication-Results: pb1.pair.com header.from=ivan.enderlin@hoa-project.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ivan.enderlin@hoa-project.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hoa-project.net from 95.130.12.24 cause and error) X-PHP-List-Original-Sender: ivan.enderlin@hoa-project.net X-Host-Fingerprint: 95.130.12.24 host1.trois-doubles.net Linux 2.6 Received: from [95.130.12.24] ([95.130.12.24:33143] helo=host1.trois-doubles.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/24-10737-7D663115 for ; Thu, 07 Feb 2013 03:33:28 -0500 Received: from Hwhost2.local (adsl-62-167-65-251.adslplus.ch [62.167.65.251]) by host1.trois-doubles.net (Postfix) with ESMTPSA id 1430620AD06 for ; Thu, 7 Feb 2013 09:33:24 +0100 (CET) Message-ID: <511366D4.50203@hoa-project.net> Date: Thu, 07 Feb 2013 09:33:24 +0100 Reply-To: ivan.enderlin@hoa-project.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Thunderbird/20.0a2 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI From: ivan.enderlin@hoa-project.net ("Ivan Enderlin @ Hoa") Hi Keyur, On 07/02/13 06:40, Keyur Govande wrote: > Hello, > > I've created a new RFC to improve support for setting a CLI process' title > on Linux. It is based off of the PostgreSQL implementation and is more > robust than the proctitle extension. > > More details and patch here: https://wiki.php.net/rfc/cli_process_title Very nice patch. It could be very useful for me. Could you precise what extensions PHP needs to use these new functions, because in your test [1], you skip when pcntl or posix are not loaded. I am sure that there is no dependency between them and *ps_title*() functions, but it has to be precised in your RFC or you need to write a simpler test. [1] https://gist.github.com/keyurdg/4728770#file-php_ps-patch-L737-L740 -- Ivan Enderlin Developer of Hoa http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/