Closed jakitliang closed 1 year ago
Starting irb will cause Power Mode change to HIGH PERFORMANCE
irb
Just start irb:
% irb irb(main):>
Your system power setting will change to HIGH PERFORMANCE mode and no way set back to BALANCE mode.
ridk version
3.1.3
If this version of ruby call some Win32 API to change users' system settings? Please don't do that.
That's the problem with irb script, which will fork an sh.exe process and cause this case.
sh.exe
But irb does nothing wrong.
It is the problem with the sh.exe shipped with msys2 and git for windows
msys2
git for windows
What problems are you experiencing?
Starting
irb
will cause Power Mode change to HIGH PERFORMANCESteps to reproduce
Just start
irb
:Your system power setting will change to HIGH PERFORMANCE mode and no way set back to BALANCE mode.
What's the output from
ridk version
?3.1.3
Others
If this version of ruby call some Win32 API to change users' system settings? Please don't do that.