Struct conch_runtime::env::ExecutableData [] [src]

pub struct ExecutableData<'a> {
    pub name: Cow<'a, OsStr>,
    pub args: Vec<Cow<'a, OsStr>>,
    pub env_vars: Vec<(Cow<'a, OsStr>, Cow<'a, OsStr>)>,
    pub current_dir: Cow<'a, Path>,
    pub stdin: Option<FileDesc>,
    pub stdout: Option<FileDesc>,
    pub stderr: Option<FileDesc>,
}

Any data required to execute a child process.

Fields

The name/path to the executable.

Arguments to be provided to the executable.

Any environment variables that should be passed to the executable. Environment variables from the current process must NOT be inherited if they do not appear in this collection.

The current working directory the executable should start out with.

The executable's standard input will be redirected to this descriptor or the equivalent of /dev/null if not specified.

The executable's standard output will be redirected to this descriptor or the equivalent of /dev/null if not specified.

The executable's standard error will be redirected to this descriptor or the equivalent of /dev/null if not specified.

Methods

impl<'a> ExecutableData<'a>
[src]

[src]

Ensures all inner data is fully owned and thus lifted to a 'static lifetime.

Trait Implementations

impl<'a> Debug for ExecutableData<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ExecutableData<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Eq for ExecutableData<'a>
[src]