From 63d27367409fd5a7ee21807d89db585bfff07033 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Tue, 21 Apr 2015 03:15:31 +0200 Subject: [PATCH] src/parallel: exec sleep fails on qnx. --- src/parallel | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/parallel b/src/parallel index 24693518..98b458a6 100755 --- a/src/parallel +++ b/src/parallel @@ -4571,10 +4571,8 @@ sub compute_number_of_processes { # The child takes one process slot # It will be killed later $SIG{TERM} = $Global::original_sig{TERM}; - # Exec 'sleep' to save RAM - # 32000 seconds should be plenty, and should be supported - # on all platforms. - exec("sleep","32000"); + sleep 10000000; + exit(0); } else { # Failed to spawn $max_system_proc_reached = 1;