[Process] remove fork references as proc_* functions start a command from an independant process, does not copy the parent memory space like pcntl_* function

This commit is contained in:
Thomas 2010-09-20 00:40:30 +02:00 committed by Fabien Potencier
parent e093387179
commit 66ddacf2e5
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ namespace Symfony\Component\Process;
*/
/**
* PhpProcess runs a PHP script in a forked process.
* PhpProcess runs a PHP script in an independent process.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
@ -41,7 +41,7 @@ class PhpProcess extends Process
}
/**
* Forks and run the process.
* run the process.
*
* @param Closure|string|array $callback A PHP callback to run whenever there is some
* output available on STDOUT or STDERR

View File

@ -13,7 +13,7 @@ namespace Symfony\Component\Process;
/**
* Process is a thin wrapper around proc_* functions to ease
* the forking processes from PHP.
* start independent PHP processes.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
@ -60,11 +60,11 @@ class Process
}
/**
* Forks and run the process.
* run the process.
*
* The callback receives the type of output (out or err) and
* some bytes from the output in real-time. It allows to have feedback
* from the forked process during execution.
* from the independent process during execution.
*
* If you don't provide a callback, the STDOUT and STDERR are available only after
* the process is finished via the getOutput() and getErrorOutput() methods.