title: Electron: run shell commands with arguments
body: <p>I'm building an electron app, </p>
  
  <p>I can run shell commands pretty easily with the shell api (<a href="https://electronjs.org/docs/api/shell" rel="noreferrer">https://electronjs.org/docs/api/shell</a>)</p>
  
  <p>This command runs perfect for example:</p>
  
  <pre><code>shell.openItem("D:\test.bat");
  </code></pre>
  
  <p>This one does not</p>
  
  <pre><code>shell.openItem("D:\test.bat argument1");
  </code></pre>
  
  <p>How to run electron shell command with arguments?</p>