Closed Gobidev closed 1 year ago
I don't know the first thing about Windows internals, maybe @FantasyTeddy can help us with this one?
Good catch! I can reproduce this error and it seems to be related to this issue: ohadravid/wmi-rs#37 Let me see if I can fix this.
Fixed in #143
Calling
os_name()
on Windows only returns the correct value the first time it is called in a program. Using a new readout does not help.The follwing program
produces this output:
The expected output would be: