title: Is there a built-in function to keep command window open in PyInstaller
body: <p>I'm creating an executable from my Python script now, and when something fails in the script (for example, a file is not present), I quit the script with <code>sys.exit('*Enter reason here*')</code>. This works excellent in the terminal view, because the output is still visible in the window. However, when I build an executable, the window is closed immediately, and the reason why the scripts ends, is not readable. </p>
  
  <p>Is there an option to keep the command window open (preferably in PyInstaller)?</p>