From: Steven Baltakatei Sandoval Date: Tue, 14 Jul 2020 03:08:18 +0000 (+0000) Subject: doc(bklog-plan):Add TODO item:account for input script failure X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/ceb6d15e2f20de620fcbd6c2ddbca5eaeb914296?ds=inline;hp=-c doc(bklog-plan):Add TODO item:account for input script failure --- ceb6d15e2f20de620fcbd6c2ddbca5eaeb914296 diff --git a/exec/bklog-plan.org b/exec/bklog-plan.org index 9e5e54d..597f653 100644 --- a/exec/bklog-plan.org +++ b/exec/bklog-plan.org @@ -67,5 +67,11 @@ number of lines being read in each buffer round should be tracked and a modulus comparison may be implemented within the ~while read~ loop so that a correction is made after some fraction of the expected lines to be read are read. +** TODO Account for "early-exit" bug in input script +2020-07-14T03:00Z; bktei> What happens if the script piping its stdout +into ~bklog~ immediately exits without providing any stdout (ex: a +python script with a missing module)? ~bklog~ should be able to detect +the latest exit code and exit early. It should also be able to detect +if the incoming pipe is closed. * bklog narrative