From: Clemens Buchacher Date: Mon, 01 Aug 2011 20:35:44 GMT Subject: Re: [PATCH] notice error exit from pager Message-ID: <20110801203544.GA22431@toss> In-Reply-To: <7vd3goj38n.fsf@alter.siamese.dyndns.org> On Mon, Aug 01, 2011 at 01:17:28PM -0700, Junio C Hamano wrote: > Clemens Buchacher writes: > > > Since there is no reliable way to handle error reporting in the > > parent, produce the output in the child instead. > > Hmm, how does this interact with your earlier "error_routine: use parent's > stderr if exec fails" patch? The use case addressed in this patch (i.e., the pager) does not strictly dependent on the previous patch. But Johannes noted that in general, error output of the child could be redirected, hiding the execve failure again. The error_routine patch avoids that by writing to the parent's stderr stream. Clemens