Skip to content

Conversation

@denini08
Copy link

@denini08 denini08 commented Sep 20, 2025

This PR fixes issue #36 by replacing os.geteuid() and os.getuid() with a cross-platform check for administrator/root privileges.
Those methods don’t work on Windows and would otherwise cause break errors.

Now the code works safely on both Unix/Linux/macOS and Windows. I saw this issue and I'm happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant