Skip to content
Discussion options

You must be logged in to vote

@GrinGrin for WSL we have the following logic. It fetches the platform from the WSL_DISTRO_NAME environment variable. If that's not available, it uses gopsutil to fetch the flatform name. All of these are a bit outside of my control, highly likely the data gopsutil fetches (or the environment variable) has different values depending in being root or not.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@JanDeDobbeleer
Comment options

Answer selected by GrinGrin
Comment options

You must be logged in to vote
1 reply
@JanDeDobbeleer
Comment options

Comment options

You must be logged in to vote
2 replies
@JanDeDobbeleer
Comment options

@GrinGrin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #7218 on January 21, 2026 06:24.