title: Python Script in WebApp won't run on Amazon Elastic Beanstalk
body: <p>So I recently deployed a NodeJS web app to Amazon Elastic Beanstalk. However, the python script that is supposed to run on deployment doesn't run? When I every I run my app locally the script runs, but for some reason this isn't the case on Bean Stalk. The logs also don't indicate any type of error on the Python Script. Below is the code I used to run my python script in my app.js file:</p>
  
  <pre><code>const spawn = require("child_process").spawn;
  const pythonProcess = spawn('python',["bitmexbot.py"]); // run python script
  </code></pre>
  
  <p>Any help would be appreciated.</p>