dev-develop
dev-developSimple external command runner
MIT
The Requires
by jake johns
dev-master
9999999-devSimple external command runner
MIT
The Requires
by jake johns
0.1.0
0.1.0.0Simple external command runner
MIT
The Requires
by jake johns
Wallogit.com
2017 © Pedro Peláez
Simple external command runner
Simple external command runner.
Basically just a proc_open wrapper;, (*1)
![Build Status][ico-travis]
![Quality Score][ico-code-quality], (*2)
composer require jnjxp/xcmd
use Jnjxp\Xcmd\ExternalCommand;
$cmd = new ExternalCommand('elinks -dump -dump-color-mode 1');
$payload = $cmd($response->getBody()); // write input to stdin
if ($payload->isError()) {
foreach ($payload->getMessages() as $error) {
echo $error . "\n";
}
exit($payload->getStatus())
}
echo $payload;
Simple external command runner
MIT
Simple external command runner
MIT
Simple external command runner
MIT