title: Execute command with arguments ends with: error=2, The system cannot find the file specified
body: <p>I have some trouble with my code to run a program on Windows command line.
  My intension is to update a version control repository with the svn.exe.
  This program needs the <code>update -u</code> parameter and the path to the repository (e.g. C:\Projects\Reposirtory). 
  When I execute the code as seen below I get this error:</p>
  
  <blockquote>
    <p>Cannot run program "C:\Program Files\SlikSvn\bin\svn status -u
    "C:\Projects\Reposirtory"": CreateProcess error=2, The system cannot
    find the file specified</p>
  </blockquote>
  
  <pre><code>public void checkUpdates(String baseDir)
      {
          StringBuilder sb = new StringBuilder();
  
          try
          {
  
              ProcessBuilder pb = new ProcessBuilder("C:\\Program Files\\SlikSvn\\bin\\svn status -u \"C:\\Projects\\\"");
  
              pb.redirectErrorStream(true);
              Process process = pb.start();
              BufferedReader inStreamReader = new BufferedReader(
                      new InputStreamReader(process.getInputStream()));
  
              while (process.isAlive() == true)
              {
                  this.wait(3);
              }
              while (inStreamReader.ready() == true)
              {
                  sb.append(inStreamReader.readLine());
              }
  
              System.out.println(sb.toString());
          }
          catch (IOException e1)
          {
              System.out.println("Es ist ein Fehler aufgetreten. " + e1.getMessage());
          }
          catch (Exception e)
          {
              System.out.println("Es ist ein Fehler aufgetreten. " + e.getMessage());
          }
          finally
          {
          }
      }
  </code></pre>
  
  <p>When I only execute this code, it will works.</p>
  
  <pre><code>ProcessBuilder pb = new ProcessBuilder("C:\\Program Files\\SlikSvn\\bin\\svn");
  </code></pre>