From 66ddacf2e59f7af0d4790bd793832fc3964f21e5 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 20 Sep 2010 00:40:30 +0200 Subject: [PATCH] [Process] remove fork references as proc_* functions start a command from an independant process, does not copy the parent memory space like pcntl_* function --- src/Symfony/Component/Process/PhpProcess.php | 4 ++-- src/Symfony/Component/Process/Process.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Symfony/Component/Process/PhpProcess.php b/src/Symfony/Component/Process/PhpProcess.php index ee53a94e3b..3eba2154e0 100644 --- a/src/Symfony/Component/Process/PhpProcess.php +++ b/src/Symfony/Component/Process/PhpProcess.php @@ -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 */ @@ -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 diff --git a/src/Symfony/Component/Process/Process.php b/src/Symfony/Component/Process/Process.php index 18b0220154..9beb29a3b0 100644 --- a/src/Symfony/Component/Process/Process.php +++ b/src/Symfony/Component/Process/Process.php @@ -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 */ @@ -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.