System_Command Released - How do I use it - no docs.?
| From: | leegold | Date: | Sun, 18 Sep 2005 01:39:45 +0000 |
| Subject: | System_Command Released - How do I use it - no docs.? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21020@lists.php.net to get a copy of this message | ||
Is it possible to get a working example?
Else how do I figure out the syntax?
How do I figure out how it's used if there's no documentation?
I've wondered about this a lot w/PEAR - very often a class has no
documentation - then how is anyone supposed to figure out how it's used?
Do you actually grok the source?
Appreciate any help...
Lee G.
On 17 Sep 2005 21:10:41 -0000, "PEAR Announce" <pear-dev@lists.php.net>
said:
> The new PEAR package System_Command-1.0.2 (stable) has been released at
> http://pear.php.net/.
>
> Release notes
> -------------
> Fix #828: assignement to $this
> Fix #1985: default shell not set
>
>
>
> Package Info
> -------------
> System_Command is a commandline execution interface.
> Running functions from the commandline can be risky if the proper
> precautions are
> not taken to escape the shell arguments and reaping the exit status
> properly. This class
> provides a formal interface to both, so that you can run a system command
> as comfortably as
> you would run a php function, with full pear error handling as results on
> failure.
> It is important to note that this class, unlike other implementations,
> distinguishes between
> output to stderr and output to stdout. It also reports the exit status
> of the command.
> So in every sense of the word, it gives php shell capabilities.
>
>
>
> Related Links
> -------------
> Package home: http://pear.php.net/package/System_Command
> Changelog:
> http://pear.php.net/package/System_Command/download/1.0.2
> Download: http://pear.php.net/get/System_Command-1.0.2.tgz
>
> Authors
> -------------
> Dan Allen (lead)
> Anders Johannsen <anders@ignition.dk> (developer)
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>