Show error message when processes are killed by SIGSEGV/SIGILL/etc #12874
Labels
enhancement
New feature or request
error-handling
How errors in externals/nu code are caught or handled programmatically (see also unhelpful-error)
external-commands
Issues related to external commands
Related problem
Nushell currently does not print anything when a program is terminated by a signal:
This could be okay if you have the exit code displayed as part of the prompt, but if you don't then it looks like everything completed successfully.
By contrast, Bash tells you what went wrong:
Describe the solution you'd like
If a signal is the reason a program exits prematurely, print the associated comment so the user is aware of the problem (available at https://man7.org/linux/man-pages/man7/signal.7.html "Standard signals" table), or the same for the Windows equivalent. This can be retrieved on nix with
ExitStatusExt::signal
.Describe alternatives you've considered
No response
Additional context and details
No response
The text was updated successfully, but these errors were encountered: