Closed zenozeng closed 7 years ago
Thanks mate, I'll check it out as soon as possible.
@octalmage Jason, in fact the bug exists and the solution works fine. Can you accept the pull request and release the new version on npm ?
Sorry just saw this! I'll get a new version out.
Use milliseconds for Start-Sleep, otherwise seconds less than 1 will be rounded down to 0 and that will cause PowerShell to use 100% CPU.
See also: https://technet.microsoft.com/en-us/library/hh849939.aspx
This change is