title: Creating an EXE from python results in command prompt opening
body: <p>This is my first attempt with PyQT5 and pyinstaller. I am using a simple command to launch httpd.exe from a button click</p>
  <p>The command I use is</p>
  <pre><code>os.system(cur_dir+&quot;//htdocs//api//taskkill /f /im httpd.exe&quot;) 
  </code></pre>
  <p>It starts apache web server minimized and works fine. Apache starts and there is no command prompt window opening. When I create the exe via pyinstaller, I get a command prompt window flash when I click on this button. Is there a way to prevent that command prompt window from opening? I am using pyinstaller --onefile --windowed</p>