title: Run a non electron executable inside electron window
body: <p>I'm new to Electron and I'd like to run a non electron executable inside my main window. Is it possible to do that?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>mainWindow = new BrowserWindow({width: 860, height: 645})
  mainWindow.loadURL('https://url.com/')
  
  const { execFile } = require('child_process');
  const child = execFile('C:\\test\\content.exe', {cwd: 'C:\\test\\'}, (error, stdout, stderr) =&gt; {
    if (error) {
      throw error;
    }
    console.log(stdout);
  });
  </code></pre>
  
  <p>Thanks.</p>