- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message403262
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | sahsariga111 |
|---|---|
| Recipients | sahsariga111 |
| Date | 2021-10-05.19:52:28 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1633463548.11.0.0233082985346.issue45382@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
The bug comes from Microsoft terminal bug : If I type there : ver it will return Microsoft Windows [Version 10.0.22000.194] only one patch is if that will check the build .
so :
info = subprocess.check_output(cmd,
stdin=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
text=True,
shell=True)
if(int(info.strip(".")[2])==22000):
return "Windows [Version 11.0.22000.194] |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-10-05 19:52:28 | sahsariga111 | set | recipients: + sahsariga111 |
| 2021-10-05 19:52:28 | sahsariga111 | set | messageid: <1633463548.11.0.0233082985346.issue45382@roundup.psfhosted.org> |
| 2021-10-05 19:52:28 | sahsariga111 | link | issue45382 messages |
| 2021-10-05 19:52:28 | sahsariga111 | create | |

