std::process::Stdio - Rust
Description: API documentation for the Rust `Stdio` struct in crate `std`.
Keywords: rust, rustlang, rust-lang, Stdio

# Struct std::process::Stdio 1.0.0 [−] [src]

    pub struct Stdio(_);

Describes what to do with a standard I/O stream for a child process.

## Methods

### `impl Stdio`
[src]

#### `fn piped() -> Stdio`

A new pipe should be arranged to connect the parent and child processes.

#### `fn inherit() -> Stdio`

The child inherits from the corresponding parent descriptor.

#### `fn null() -> Stdio`

This stream will be ignored. This is the equivalent of attaching the stream to `/dev/null`

## Trait Implementations

### `impl FromRawFd for Stdio`
1.2.0
[src]

#### `unsafe fn from_raw_fd(fd: RawFd) -> Stdio`

Constructs a new instance of `Self` from the given raw file descriptor. Read more

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)