PsGoogle icon indicating copy to clipboard operation
PsGoogle copied to clipboard

Seemingly infinite loop w/errors in PowerShell ISE

Open gfody opened this issue 9 years ago • 0 comments

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.

gfody avatar Aug 23 '16 21:08 gfody