Struct conductor::exec::Command [] [src]

pub struct Command {
    pub command: OsString,
    pub args: Vec<OsString>,
}

A command which can be executed.

Fields

The command to execute.

The arguments to pass to the command.

Methods

impl Command
[src]

Create a new Command object.

Add arguments to a Command object. This is meant to be chained immediately after new, and it consumes self and returns it.

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter.

impl ToArgs for Command
[src]

Convert this type to command-line arguments.