Message388945
CMD is not going to be subjected to compatibility shims that hide the version number, and I *think* those are not inherited by child processes. So it can use the basic APIs. (It's also likely to be the comparison that most people will check against.)
I agree that using WMI is probably overkill. PyWin32 or a new extension module could handle it for people who have a more urgent need. |
|
Date |
User |
Action |
Args |
2021-03-17 17:19:44 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, zach.ware, eryksun, corona10, bugale bugale, Orbital |
2021-03-17 17:19:44 | steve.dower | set | messageid: <1616001584.29.0.970161427354.issue43284@roundup.psfhosted.org> |
2021-03-17 17:19:44 | steve.dower | link | issue43284 messages |
2021-03-17 17:19:44 | steve.dower | create | |
|