openlss / func-proc
Process helper functions
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/openlss/func-proc
Requires
- php: >=5.3.2
This package is not auto-updated.
Last update: 2025-09-27 19:28:37 UTC
README
Process handling functions for executing commands with BASH
Usage
$out = run('whoami'); //returns root
Reference
run($cmd,&$return=null)
- $cmd The command to be ran: slashes are automatically escaped
- $return Passed as a reference to store the commands exit code Returns the full output of the command as a string