title: Script php artisan package:discover handling the post-autoload-dump event returned with error code -1073740791
body: <p>Why is it throwing an error? What can I do to debug the issue? </p>
  
  <p>Composer version 1.7.2 2018-08-16 16:57:12
  Running on Windows 10.</p>
  
  <p>I can run php artisan package:discover manually without issue. I'm not sure what the number at the end means. I ran this with composer update -vvv</p>
  
  <pre><code>Writing lock file
  Generating optimized autoload files
  &gt; post-autoload-dump: Illuminate\Foundation\ComposerScripts::postAutoloadDump
  &gt; post-autoload-dump: php artisan package:discover
  Executing command (CWD): php artisan package:discover
  Script php artisan package:discover handling the post-autoload-dump event returned with error code -1073740791
  </code></pre>