mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
1ecbb3e09f
# Description Bandaid fix for #12643, where it is not possible to get the exit code of a failed external command while also having the external command inherit nushell's stdout and stderr. This changes `try` so that the exit code of external command is available in the `catch` block via the usual `$env.LAST_EXIT_CODE`. # Tests + Formatting Added one test. # After Submitting Rework I/O redirection and possibly exit codes. |
||
---|---|---|
.. | ||
core_commands | ||
default_context.rs | ||
example_support.rs | ||
example_test.rs | ||
lib.rs |