[Process] Minor README update
This commit is contained in:
parent
6bd80277f1
commit
c7d6bbbacc
@ -27,7 +27,7 @@ as it becomes available:
|
|||||||
|
|
||||||
$process = new Process('ls -lsa');
|
$process = new Process('ls -lsa');
|
||||||
$process->run(function ($type, $buffer) {
|
$process->run(function ($type, $buffer) {
|
||||||
if ('err' === $type) {
|
if (Process::ERR === $type) {
|
||||||
echo 'ERR > '.$buffer;
|
echo 'ERR > '.$buffer;
|
||||||
} else {
|
} else {
|
||||||
echo 'OUT > '.$buffer;
|
echo 'OUT > '.$buffer;
|
||||||
@ -42,6 +42,6 @@ Resources
|
|||||||
|
|
||||||
You can run the unit tests with the following command:
|
You can run the unit tests with the following command:
|
||||||
|
|
||||||
$ cd path/to/Symfony/Component/XXX/
|
$ cd path/to/Symfony/Component/Process/
|
||||||
$ composer.phar install
|
$ composer.phar install
|
||||||
$ phpunit
|
$ phpunit
|
||||||
|
Reference in New Issue
Block a user