Hide Windows ps status, bump reedline (#749)

This commit is contained in:
JT
2022-01-16 06:44:24 +11:00
committed by GitHub
parent 89d99db94f
commit 8f4ee14d85
2 changed files with 10 additions and 6 deletions

View File

@ -70,11 +70,15 @@ fn run_ps(engine_state: &EngineState, call: &Call) -> Result<PipelineData, Shell
span,
});
cols.push("status".to_string());
vals.push(Value::String {
val: proc.status(),
span,
});
#[cfg(not(windows))]
{
// Hide status on Windows until we can find a good way to support it
cols.push("status".to_string());
vals.push(Value::String {
val: proc.status(),
span,
});
}
cols.push("cpu".to_string());
vals.push(Value::Float {