Skip to content

fix(repl): improve error handling and cleanup on unexpected errors - #18210

Merged
fdncred merged 2 commits into
nushell:mainfrom
fdncred:improve_repl_err_handling
May 15, 2026
Merged

fdncred merged 2 commits into
nushell:mainfrom
fdncred:improve_repl_err_handling

Conversation

@fdncred

@fdncred fdncred commented May 15, 2026

Copy link
Copy Markdown
Contributor

Description

This PR improves repl error handling when being redirected.

User-facing changes (Release notes)

Improve repl error handling when redirected like nu > /dev/full or nu 2>/dev/full.

Additional notes

closes #18208
closes #18209

@fdncred
fdncred merged commit fbe85c7 into nushell:main May 15, 2026
17 checks passed
@github-actions github-actions Bot added this to the v0.113.0 milestone May 15, 2026
@fdncred fdncred added notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes labels May 17, 2026
@fdncred
fdncred deleted the improve_repl_err_handling branch November 16, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nu 2>/dev/full crushes nu >/dev/full causes infinite loop and impossible to Ctrl+C

1 participant