pub enum StdioContainer {
Ignored,
InheritFd(c_int),
CreatePipe(bool, bool),
}
Describes what to do with a standard io stream for a child process.
Variants
Ignored | This stream will be ignored. This is the equivalent of attaching the
stream to /dev/null
|
InheritFd | The specified file descriptor is inherited for the stream which it is
specified for. Ownership of the file descriptor is not taken, so the
caller must clean it up.
|
CreatePipe | Creates a pipe for the specified file descriptor which will be created
when the process is spawned.
The first boolean argument is whether the pipe is readable, and the
second is whether it is writable. These properties are from the view of
the child process, not the parent process.
|
Trait Implementations
Derived Implementations
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
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
, typedef
(or
tdef
).