openlss / func-proc
Process helper functions
0.0.7
2013-04-03 08:43 UTC
Requires
- php: >=5.3.2
This package is not auto-updated.
Last update: 2024-10-26 14:46:05 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