<@U021C96KUGJ>: a random papercut thing for the `e...
# development
w
@ancient-vegetable-10556: a random papercut thing for the
experimental_shell_command
list (which i think would be good in either a
Project
board or stabilization ticket): the
tools
list is required even if no tools are used (i.e. if all you need is
bash
itself)
a
Yup! Did you want to create the ticket?
w
i think you and Benjy have the most context on it.
oh, you mean for this papercut? yea, i can if that would help
on second thought, it’s likely a rare case to use only
bash
, and in all the other cases it’s probably a useful bit of guidance that you’ll need to declare the tools you use.
a
@witty-crayon-22786 I just started updating the exception message here, and wondered whether we could do better. If a user needs
tools
, and fails to specify them, it looks like
bash
has a reliable error code of
127
for command-not-found errors.
w
Hm. Yea, that would be a bit more contextual.
a
PR incoming 🙂
w
... depending on how reliable the error code is.
a
you have to start digging into subshells at that point, and you wouldn’t get an error under the status quo
w
Yea. You really only need the reminder the very first time.
a
Right, with proposed behaviour:
$ echo fleh
would raise an error log, alerting you to update your
tools
, `$ echo `fleh`` would fail silently, but that would fail silently either way.