From ff4ac0ca4b41deba5e3cb100bee23431c694963f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 15 Oct 2016 20:35:23 +0000 Subject: Implement a timeout in wait --- doc/wait.html | 18 ++++++-- src/execline/wait.c | 125 ++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 115 insertions(+), 28 deletions(-) diff --git a/doc/wait.html b/doc/wait.html index 94587a1..913e17c 100644 --- a/doc/wait.html +++ b/doc/wait.html @@ -29,7 +29,7 @@

-     wait [ -r ] { [ pids... ] } prog...
+     wait [ -I | -i ] [ -r | -t timeout ] { [ pids... ] } prog...