Skip to content

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Sep 22, 2025

This change should make importing this library easier.

On non-Windows systems, the calls to any method of the public API will always return an "unimplemented" error.

This PR also changes the signature of IsAdminProcess from:

func IsAdminProcess() bool

to:

func IsAdminProcess() (bool, error)

@cmaglie cmaglie self-assigned this Sep 22, 2025
@cmaglie cmaglie merged commit 94885e2 into main Sep 23, 2025
@cmaglie cmaglie deleted the runas-nonwindows branch September 23, 2025 07:33
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.

2 participants