diff --git a/crates/nu-command/src/system/run_external.rs b/crates/nu-command/src/system/run_external.rs index 47ece21dd..6ced60351 100644 --- a/crates/nu-command/src/system/run_external.rs +++ b/crates/nu-command/src/system/run_external.rs @@ -521,7 +521,7 @@ impl ExternalCommand { // If there is an input from the pipeline. The stdin from the process // is piped so it can be used to send the input information - if !matches!(input, PipelineData::Value(Value::Nothing { .. }, ..)) { + if !input.is_nothing() { process.stdin(Stdio::piped()); }