title: Hiding command prompt when using wkhtmltopdf
body: <p>I'm trying to create an executable that will run without showing the command prompt. I'm using <code>pyinstaller</code> to create the executable and the <code>--noconsole</code> option to hide the command prompt, but the program uses <code>wkhtmltopdf</code> which still causes a command prompt to open. </p>
  
  <p>The only option I found to use with <code>wkhtmltopdf</code> is <code>-quiet</code>, which stops it from outputting anything, but this still causes a command prompt to open, it's just blank.</p>
  
  <p>I don't know if there's an option I'm missing that can be used with <code>wkhtmltopdf</code> or if there's some other workaround.</p>
  
  <pre><code>import pdfkit
  
  path_to_wkhtmltopdf = 'S:\!Data Processing\Resources\wkhtmltopdf\\bin\wkhtmltopdf.exe'
  
  config = pdfkit.configuration(wkhtmltopdf=path_to_wkhtmltopdf)
  pdfkit.from_file(os.path.join(folder,'temp_output.html'),os.path.join(folder, raw_file_name + ' (RAW PDF).pdf'),options={
          'margin-left': margin,
          'margin-right': '0.3in',
          'margin-top': '0.3in',
          'margin-bottom': '0.3in',
          'quiet': '', 
      },configuration=config)
  </code></pre>