BSD Ports

devel/pear-System_Command 1.0.8 FreeBSD

PEAR command line execution interface

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, pear
Package size
7.4 KiB, 23.5 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/pear-System_Command1.0.8
DragonFlydevel/pear-System_Command1.0.8

Install

Binary package:

pkg install php82-pear-System_Command

From the ports tree:

cd /usr/ports/devel/pear-System_Command/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php82-pear-System_Command>0:devel/pear-System_Command

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.81.0.81.0.81.0.81.0.8
FreeBSD:14:quarterly1.0.81.0.8n/a1.0.81.0.8
FreeBSD:15:latest1.0.81.0.8n/a1.0.81.0.8
FreeBSD:15:quarterly1.0.81.0.8n/an/an/a
FreeBSD:16:latest1.0.81.0.8n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 9
Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

USES
pear
Service scripts
none
Flavors
php83-pear-System_Command-1.0.8, php84-pear-System_Command-1.0.8, php85-pear-System_Command-1.0.8, php86-pear-System_Command-1.0.8

Files

distinfo 1
FileSizeSHA256
PEAR/System_Command-1.0.8.tgz66333bc4320084e981afd2da828aad2e04d2c933bc6a0518c1d5677ed7598e980d46

Commit history 0

No commits in the history this site was built from.