nushell/crates/nu-system
Piotr Kufel 5473def7ef
Prefer process name over executable path (#13618)
# Description
Prefer process name over executable path. This in practice causes the
`name` column to use just the base executable name.

Also set start_time to nothing on error, because why not.

# User-Facing Changes

Before:

> /opt/google/chrome/chrome

After:

> chrome

Also picks up changes due to `echo test-proc > /proc/$$/comm`.

# Tests + Formatting

No new coverage.
2024-08-15 13:44:01 +08:00
..
examples Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00
src Prefer process name over executable path (#13618) 2024-08-15 13:44:01 +08:00
.gitignore Add nu-system and rewrite ps command (#734) 2022-01-14 17:20:53 +11:00
Cargo.toml Bump version to 0.96.2 (#13485) 2024-07-29 17:20:55 -07:00
LICENSE Nu glob (#4818) 2022-03-13 11:30:27 -07:00
README.md Add top-level crate documentation/READMEs (#12907) 2024-07-14 10:10:41 +02:00

Operating system specific bindings used by Nushell.

Currently primarily wrappers around processes and ways to gather process info from the system

Internal Nushell crate

This crate implements components of Nushell and is not designed to support plugin authors or other users directly.