|
From: | Bastien |
Subject: | Re: Bug or not a bug? dot expansion in ob-shell |
Date: | Wed, 19 Feb 2020 17:00:02 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
I've implemented the suggestion I made in master: New option ~ob-shell-return-value-is-exit-status~ When set to =t=, consider the return value of a shell source code block is the exit status of its last command. The default for this option is =nil=, i.e. the return value of a shell block is the output of the commands. You can turn this on individual blocks by setting the header argument =:value-is-exit-status= to =t=. Please test and let me know if it works. Thanks for bringing this up! -- Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |