Re: [Proposal] (PHP_)?ProcWatch

From: Date: Tue, 11 Nov 2003 13:54:15 +0000
Subject: Re: [Proposal] (PHP_)?ProcWatch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23437@lists.php.net to get a copy of this message
Hi, On 10 Nov 2003, at 14:10, Michael Wallner wrote:
Please visit http://dev.iworks.at/PEAR/proposals/PHP_ProcWatch.html for further information, examples and source code.
First, I like the idea :). Second, I had a look at the code and it appears that it is not cross platform compatible. This is a problem all wrappers around system tools have in common, since those tools differ in arguments and output from system to system. I (try to) maintain the Net_Ping package and for example even the BSD's pings arguments and outputs differ largely. And what about windows? It doesn't even have a ps as far as I can remember. What we have in Net_Ping is a list of argument definitions per operating system (based on OS_Guess) and a custom parser for each output. However, adding *real* (sort of) OS independence comes with a lot of bloat and some maintenance responsibility. So, my 2 cents: +1 for having the package -1 for having the package in as-is (read: OS independence is must-have IMHO) Jan --
Q: Thank Jan? -  A: http://geschenke.an.dasmoped.net/    |Editor-in-Chief |
"We cats are very independent. We need nobody,  no time, |  PHPMagazine   |
no where, no way. Isn't that right Pooky?" - Garfield Key Fingerprint 7BCC EB86 8313 DDA9 25DF 1805 ECA5 BCB7 BB96 56B0

« previous php.pear.dev (#23437) next »