title: PyInstaller OS X app runs from command line, but not Finder window
body: <p>I have an application bundle created with PyInstaller on OS X.  If I double click the .app bundle in Finder, the application tries to launch, then terminates.  No further information is given in the console, other than the application quit.</p>
  
  <p>But if I launch the app executable from the terminal (i.e., <code>./Contents/MacOS/MyApplication</code>, it works perfectly fine.  This seems to be the same behavior experienced in this issue: <a href="https://stackoverflow.com/questions/22418418/osx-app-built-with-python-quits-immediately-if-app-bundle-is-executed-from-finde">OSX app built with python quits immediately if app bundle is executed from finder but runs fine from command line</a>, but the marked solution there isn't particularly helpful.</p>
  
  <p>I suspect this is indeed related to an environment or path issue.  But I'm not sure how to fix it.  Should something be specified in the <code>info.plist</code> file maybe?  Any guidance would be greatly appreciated.</p>