mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
refactor all write_alls to ensure flushing (#5567)
This commit is contained in:
@ -166,6 +166,8 @@ macro_rules! nu_with_plugins {
|
||||
.write_all(commands.as_bytes())
|
||||
.expect("couldn't write to stdin");
|
||||
|
||||
stdin.flush()?
|
||||
|
||||
let output = process
|
||||
.wait_with_output()
|
||||
.expect("couldn't read from stdout/stderr");
|
||||
|
Reference in New Issue
Block a user