[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #51267] Improve error handling after a special command
From: |
Paul Smith |
Subject: |
Re: [bug #51267] Improve error handling after a special command |
Date: |
Mon, 19 Jun 2017 13:51:03 -0400 |
On Mon, 2017-06-19 at 19:45 +0200, Henrik Carlqvist wrote:
> On Mon, 19 Jun 2017 12:08:35 -0400 (EDT)
> Markus Elfring <address@hidden> wrote:
> > The semicolon indicates at the end that the return value is ignored
> > there. I imagine that further data processing should usually only
> > be performed if this command succeeded.
> > Would you like to improve the exception handling for such a
> > situation?
>
> If you really think that is a bug you should file that bug to the
> writers of the shell. Make calls commands in a shell and the result
> is as in the shell.
I think Markus is suggesting that the example in the documentation be
improved to not have this problem regarding losing the return value.
That's probably a good idea, although this entire method of managing
automatically generated dependencies is essentially obsolete. Arguably this
entire section should be rewritten from scratch to use more modern methods.