Crate nu_system

Source
Expand description

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.

Modules§

os_info

Structs§

ForegroundChild
A simple wrapper for std::process::Child
ForegroundGuard
Keeps a specific already existing process in the foreground as long as the ForegroundGuard. If the process needs to be spawned in the foreground, use ForegroundChild instead. This is used to temporarily bring plugin processes into the foreground.
ProcessInfo

Enums§

ExitStatus
ProcessTask

Functions§

collect_proc
stdin_fd
Alternative to having to call std::io::stdin() just to get the file descriptor of stdin