mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:55:07 +02:00
fix stdout hangged on (#6715)
This commit is contained in:
@ -440,7 +440,7 @@ impl PipelineData {
|
||||
{
|
||||
// NOTE: currently we don't need anything from stderr
|
||||
// so directly consumes `stderr_stream` to make sure that everything is done.
|
||||
let _ = stderr_stream.map(|x| x.into_bytes());
|
||||
std::thread::spawn(move || stderr_stream.map(|x| x.into_bytes()));
|
||||
if let Some(stream) = stream {
|
||||
for s in stream {
|
||||
let s_live = s?;
|
||||
|
Reference in New Issue
Block a user