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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/pear-System_Command | 1.0.8 |
| DragonFly | devel/pear-System_Command | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.8 | 1.0.8 | 1.0.8 | 1.0.8 | 1.0.8 |
| FreeBSD:14:quarterly | 1.0.8 | 1.0.8 | n/a | 1.0.8 | 1.0.8 |
| FreeBSD:15:latest | 1.0.8 | 1.0.8 | n/a | 1.0.8 | 1.0.8 |
| FreeBSD:15:quarterly | 1.0.8 | 1.0.8 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.8 | 1.0.8 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| PEAR/System_Command-1.0.8.tgz | 6633 | 3bc4320084e981afd2da828aad2e04d2c933bc6a0518c1d5677ed7598e980d46 |
Commit history 0
No commits in the history this site was built from.