Skip to content

Commit

Permalink
Derive Clone for Command and StdioContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Jul 10, 2014
1 parent 942c72e commit 6d50828
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/io/process.rs
Expand Up @@ -94,6 +94,7 @@ pub struct Process {
///
/// let output = process.stdout.get_mut_ref().read_to_end();
/// ```
#[deriving(Clone)]
pub struct Command {
// The internal data for the builder. Documented by the builder
// methods below, and serialized into rt::rtio::ProcessConfig.
Expand Down Expand Up @@ -340,6 +341,7 @@ pub struct ProcessOutput {
}

/// Describes what to do with a standard io stream for a child process.
#[deriving(Clone)]
pub enum StdioContainer {
/// This stream will be ignored. This is the equivalent of attaching the
/// stream to `/dev/null`
Expand Down

5 comments on commit 6d50828

@bors
Copy link
Contributor

@bors bors commented on 6d50828 Jul 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at japaric@6d50828

@bors
Copy link
Contributor

@bors bors commented on 6d50828 Jul 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging japaric/rust/command-clone = 6d50828 into auto

@bors
Copy link
Contributor

@bors bors commented on 6d50828 Jul 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

japaric/rust/command-clone = 6d50828 merged ok, testing candidate = f865812

@bors
Copy link
Contributor

@bors bors commented on 6d50828 Jul 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = f865812

Please sign in to comment.