title: How to start explorer.exe with QProcess when the path to the specified file contains spaces?
body: <p>I want to start explorer and select a specific file. So I run</p>
  <pre><code>QProcess::startDetached(command);
  </code></pre>
  <p>with <em>command</em> set to</p>
  <pre><code>explorer.exe /select,C:\Users\....\file.txt
  </code></pre>
  <p>This works fine, but will fail if the path to the file contains spaces. But if I put the path in quotes</p>
  <pre><code>explorer.exe /select,&quot;C:\Users\....\file.txt&quot;
  </code></pre>
  <p>the explorer will open the documents folder and not the specified path.
  Running the same string from the command line works fine.</p>
  <p>The string is initialized with</p>
  <pre><code>command = &quot;explorer.exe&quot; + &quot;/select,&quot; + &quot;\&quot;&quot; + QDir::toNativeSeparators(path) + &quot;\&quot;&quot;;
  </code></pre>