Re: [RFC] Improved Linux process title support in the CLI SAPI
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/
Thread (24 messages)