diff --git a/components/process.rst b/components/process.rst index 2648344dde1..9e50196625a 100644 --- a/components/process.rst +++ b/components/process.rst @@ -331,7 +331,7 @@ a different timeout (in seconds) to the ``setTimeout()`` method:: $process->run(); If the timeout is reached, a -:class:`Symfony\\Component\\Process\\Exception\\RuntimeException` is thrown. +:class:`Symfony\\Component\\Process\\Exception\\ProcessTimedOutException` is thrown. For long running commands, it is your responsibility to perform the timeout check regularly::