title: execute batch-file with qt as a new process
body: <p>I'm trying to execute a batch file.</p>
  
  <p>This code should start <code>cmd.exe</code> in a detached process and execute <code>deleteme.bat</code>. The return value of <code>exec-&gt;startDetached</code> is true but the batch file is not executed.</p>
  
  <p>Am I doing something wrong?</p>
  
  <p>Here's my code:</p>
  
  <pre><code>QStringList arguments;
  arguments &lt;&lt; "/C deleteme.bat";
  QProcess * exec = new QProcess();
  exec-&gt;startDetached("cmd.exe", arguments);
  </code></pre>