Re: CMD.php

From: Date: Fri, 24 May 2002 04:47:05 +0000
Subject: Re: CMD.php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6377@lists.php.net to get a copy of this message
IMHO the CMD class should be merged into System, or be renamed to System_Command. - Stig On Fri, 2002-05-24 at 05:31, Dan Allen wrote: > Are there any plans to move this to the new PEAR library?...I see a > lot of places where this class could be used but is not. Anytime a > PEAR class requires a system call, I believe that the CMD class > should be called instead of creating a custom function for that > class...the reason I say this is that this way, it is possible to > control the way a command is executed on a more global scale. The > first example I will give is the Image_Transform class, which must > use the ImageMagick commandline tools until PECL imagick is more > widespread...and to to it now there is no interface for which() or > exec()... > > Dan > > -- > ________________________________________________________________ > Daniel Allen, <dan@mojavelinux.com> > http://www.mojavelinux.com/ > ________________________________________________________________ > "I used to herd dairy cows. Now I herd linux users. Apart > from the isolation, I think I preferred the cows. They were > better in conversation, easier to milk, and if they annoyed me > enough, I could shoot them and eat them." > ________________________________________________________________ > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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