minor #11095 [2.3][Process] Minor README update (romainneutron)

This PR was merged into the 2.3 branch.

Discussion
----------

[2.3][Process] Minor README update

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

c7d6bbb [Process] Minor README update
This commit is contained in:
Fabien Potencier 2014-06-12 10:26:30 +02:00
commit 90eeadb303

View File

@ -27,7 +27,7 @@ as it becomes available:
$process = new Process('ls -lsa');
$process->run(function ($type, $buffer) {
if ('err' === $type) {
if (Process::ERR === $type) {
echo 'ERR > '.$buffer;
} else {
echo 'OUT > '.$buffer;
@ -42,6 +42,6 @@ Resources
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
$ phpunit