title: cmd /C doesn't work in Rust when command includes spaces
body: <p>I want to run this command from a Rust program:</p>
  
  <pre class="lang-none prettyprint-override"><code>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://stackoverflow.com/"
  </code></pre>
  
  <p>In cmd, this works.</p>
  
  <pre class="lang-none prettyprint-override"><code>cmd /C ""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://stackoverflow.com/""
  </code></pre>
  
  <p>In C#, this works.</p>
  
  <pre><code>var comm = @"""""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"" ""https://stackoverflow.com/""""";
  System.Diagnostics.Process.Start("cmd", "/C " + comm);
  </code></pre>
  
  <p>In Rust, this doesn't work.</p>
  
  <pre><code>let comm = r#"""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://stackoverflow.com/"""#;
  let output = Command::new("cmd")
      .args(&amp;["/C", comm])
      .output()
      .expect("failed to execute process");
  </code></pre>
  
  <p>I get a following error.</p>
  
  <pre class="lang-none prettyprint-override"><code>The network path was not found.
  </code></pre>
  
  <p>However, it works when <code>comm</code> is <code>echo hello</code>.</p>
  
  <p>I tried two additional ways:</p>
  
  <ol>
  <li><p>This</p>
  
  <pre><code>let comm = r#"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe https://stackoverflow.com/"#;
  </code></pre>
  
  <p>is</p>
  
  <pre class="lang-none prettyprint-override"><code>'C:\Program' is not recognized as an internal or external command,
  operable program or batch file.
  </code></pre></li>
  <li><p>This</p>
  
  <pre><code>let comm = r#""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe https://stackoverflow.com/""#;
  </code></pre>
  
  <p>is</p>
  
  <pre><code>'\"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe\"' is not recognized as an internal or external command,
  operable program or batch file.
  </code></pre></li>
  </ol>