nushell/crates/nu-engine
WindSoilder 23fec8eb0d
Fix piping output logic (#11317)
# Description
Fixes: #11295

Sorry for introducing such issue.
The issue is caused by we wrongly set `redirect_stdout` and
`redirect_stderr` during eval, take the following as example:
```nushell
ls | bat --paging always
```
When running `bat --paging always`, `redirect_stdout` should be `false`.
But before this pr, it's set to true due to `ls` command, and then the
`true` value will go to all remaining commands.

# User-Facing Changes
NaN

# Tests + Formatting
Sorry I don't think we have a way to test it. Because it needs to be
tested on interactive command like `nvim`.

# After Submitting
NaN
2023-12-13 13:16:23 -06:00
..
src Fix piping output logic (#11317) 2023-12-13 13:16:23 -06:00
Cargo.toml Bump version for 0.88.0 release (#11298) 2023-12-13 06:31:14 +13:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00