From 4345e08fc814e297973386054213107477e9c584 Mon Sep 17 00:00:00 2001 From: makmaoui <37940572+makmaoui@users.noreply.github.com> Date: Thu, 15 Aug 2019 10:17:35 +0200 Subject: [PATCH] Fix timeout exception thrown --- components/process.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::