chocolatey/chocolatey — pull request #151 by hobbit125 (2012-09-13 14:48:03+00:00)
Title: Fix for "Execution of NuGet not detected" error.

Using the Start-Process cmdlet with -RedirectStandardOutput does not
reliably flush output to the file immediately. This causes the text
file that the script immediately tries to read afterwards to sometimes
be empty. This manifests as the "Execution of NuGet not detected" error
and I suspect is the cause of this issue on certain systems that many
users are seeing.