title: How to use `std::io::Command`
body: <p>I am trying to execute the following code in Rust:</p>
  
  <pre><code>use std::io::Command;
  
  fn main() {
      let the_output = Command::new("ruby").arg(["-e", "puts 'raja'", "x"]).output()
  }
  </code></pre>
  
  <p>But it throws this error:</p>
  
  <pre class="lang-none prettyprint-override"><code>error[E0432]: unresolved import `std::io::Command`
   --&gt; src\main.rs:1:5
    |
  1 | use std::io::Command;
    |     ^^^^^^^^^^^^^^^^ no `Command` in `io`
  </code></pre>
  
  <p>Can someone guide me how to import this <code>use std::io::Command;</code> into my program? </p>