title: Electron open file/directory in specific application
body: <p>I'm building a sort of File explorer / Finder using Electron. 
  I want to open some file types with a specific application.</p>
  
  <p>I've tried the approach from this answer: 
  <a href="https://stackoverflow.com/questions/30381450/open-external-file-with-electron">Open external file with Electron</a></p>
  
  <pre><code>import { spawn } from 'child_process'
  spawn('/path/to/app/superApp.app', ['/path/to/file'])
  </code></pre>
  
  <p>But when I do that, I get a <code>EACCES</code> error as follows.</p>
  
  <p><strong>Is this the right approach? If yes, how can I fix the issue? If not, what is the right approach?</strong></p>