Skip to content

Commit

Permalink
[Process] remove fork references as proc_* functions start a command …
Browse files Browse the repository at this point in the history
…from an independant process, does not copy the parent memory space like pcntl_* function
  • Loading branch information
rande authored and fabpot committed Sep 20, 2010
1 parent e093387 commit 66ddacf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/Process/PhpProcess.php
Expand Up @@ -12,7 +12,7 @@
*/

/**
* 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>
*/
Expand Down Expand Up @@ -41,7 +41,7 @@ public function setPhpBinary($php)
}

/**
* 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
Expand Down
6 changes: 3 additions & 3 deletions src/Symfony/Component/Process/Process.php
Expand Up @@ -13,7 +13,7 @@

/**
* 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>
*/
Expand Down Expand Up @@ -60,11 +60,11 @@ public function __construct($commandline, $cwd = null, array $env = array(), $st
}

/**
* 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.
Expand Down

0 comments on commit 66ddacf

Please sign in to comment.