diff options
author | pav <pav@FreeBSD.org> | 2005-01-28 07:03:23 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-01-28 07:03:23 +0800 |
commit | b74e660399f10f8277681639f5d3ea31846dea3e (patch) | |
tree | 9fbcdc1c4b6911e7746756ffad89fd0e6418750f /devel/Makefile | |
parent | 3638974259be2c3912021ea6778d30939ea51c37 (diff) | |
download | freebsd-ports-gnome-b74e660399f10f8277681639f5d3ea31846dea3e.tar.gz freebsd-ports-gnome-b74e660399f10f8277681639f5d3ea31846dea3e.tar.zst freebsd-ports-gnome-b74e660399f10f8277681639f5d3ea31846dea3e.zip |
System_Command is a command line execution interface.
Running functions from the command line 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.
PR: ports/76749
Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
Diffstat (limited to 'devel/Makefile')
-rw-r--r-- | devel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 02f2991346ba..5ddb0bfd4c63 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1129,6 +1129,7 @@ SUBDIR += pear-PHP_Compat SUBDIR += pear-Pager SUBDIR += pear-Structures_DataGrid + SUBDIR += pear-System_Command SUBDIR += pear-VFS SUBDIR += pear-Validate SUBDIR += pear-Var_Dump |