|
From: | Jim Porter |
Subject: | bug#59666: 29.0.50; Eshell: comparisons such as {> 3 2} do not work in Eshell context |
Date: | Sat, 3 Dec 2022 11:31:00 -0800 |
On 12/1/2022 11:33 PM, Milan Zimmermann wrote:
1. use ~if {function-call}~ (only?) to check EXIT STATUS of the EXTERNAL function (program) call.
One final note is that this should also work for Eshell commands (ones defined as "defun eshell/FOO"), since those are specially-written to conform to Eshell's command behavior. (That is, if they want to report an error, they set the exit status.)
[Prev in Thread] | Current Thread | [Next in Thread] |