mirror of
https://github.com/nushell/nushell
synced 2024-11-10 23:24:14 +00:00
Fix ps command on linux (#6047)
Fixes #6042 Signed-off-by: nibon7 <nibon7@163.com>
This commit is contained in:
parent
ed50210832
commit
d95a065e3d
1 changed files with 1 additions and 1 deletions
|
@ -93,8 +93,8 @@ pub fn collect_proc(interval: Duration, with_thread: bool) -> Vec<ProcessInfo> {
|
|||
if let Ok(iter) = proc.tasks() {
|
||||
collect_task(iter, &mut base_tasks);
|
||||
}
|
||||
base_procs.push((proc.pid(), proc, io, time));
|
||||
}
|
||||
base_procs.push((proc.pid(), proc, io, time));
|
||||
// match proc {
|
||||
// Ok(p) => {
|
||||
// let io = p.io().ok();
|
||||
|
|
Loading…
Reference in a new issue