diff --git a/components/process.rst b/components/process.rst index 6c7c9205454..f05e6c70ca4 100644 --- a/components/process.rst +++ b/components/process.rst @@ -45,6 +45,12 @@ output. Alternatively, the :method:`Symfony\\Component\\Process\\Process::getInc and :method:`Symfony\\Component\\Process\\Process::getIncrementalErrorOutput` methods returns the new outputs since the last call. +.. versionadded:: 2.4 + The ``flushOutput()`` and ``flushErrorOutput()`` methods were added in Symfony 2.4. + +The :method:`Symfony\\Component\\Process\\Process::flushOutput()` method flushes the contents of the output and +and :method:`Symfony\\Component\\Process\\Process::flushErrorOutput()` the content of the error output. + Getting real-time Process Output --------------------------------