about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstd/io/process.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/io/process.rs b/src/libstd/io/process.rs
index 8f1046b62fd..d781c414d08 100644
--- a/src/libstd/io/process.rs
+++ b/src/libstd/io/process.rs
@@ -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.
@@ -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`