title: Run python script on node-webkit startup (nw.js)
body: <p>I have a Python-based app that controls LEDs. It uses <code>Flask</code> to create a webserver so I can work with a nice UI using HTML, CSS, and JS. </p>
  
  <p>My current process:</p>
  
  <ol>
  <li><code>python home.py</code></li>
  <li>navigate to <code>localhost:5000</code> in browser</li>
  <li>profit!</li>
  </ol>
  
  <p>I'd like to take it a step further and package it up as a <code>nw.js</code> (formerly <code>node-webkit</code>) app. </p>
  
  <p>Basically, I believe I simply need to execute my python script before the window loads, so that my tried-and-true flask web server kicks off and creates a <code>localhost:5000</code> page for my <code>nw.js</code> app interface to open up. </p>
  
  <p><strong>How can I package my nw.js app so it runs a python script on startup?</strong></p>