From 13f90ceef903494ac13d9cb2f27d7e636f3fb1c6 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 10 Oct 2013 10:23:52 +0200 Subject: [PATCH] kill the timeout process not only for last command, but for each one --- buildtools/Cmake/Scripts/tesh.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildtools/Cmake/Scripts/tesh.pl b/buildtools/Cmake/Scripts/tesh.pl index 31acb42b13..d74a6d554b 100755 --- a/buildtools/Cmake/Scripts/tesh.pl +++ b/buildtools/Cmake/Scripts/tesh.pl @@ -531,6 +531,11 @@ LINE: while (not $finished and not $error) { } else { die "[TESH/CRITICAL] parse error: $line\n"; } + if($forked){ + kill(9, $forked); + $timeout=0; + } + } -- 2.20.1