gfody/PsGoogle

Seemingly infinite loop w/errors in PowerShell ISE

Opened this issue · 0 comments

gfody commented

ISE doesn't allocate a console so the prompt "any key for more results, q to quit.." ends up throwing exceptions as we loop through all the millions of results.

Possible fix - use Console.Read instead of [Console]::ReadKey when $PSISE is defined. Ideally we can continue pulling results on any keystroke but Console.Read requires the user hit enter.