Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle cases where openconnect folder is not within $PATH #108

Open
dktrkranz opened this issue Oct 9, 2024 · 0 comments
Open

Handle cases where openconnect folder is not within $PATH #108

dktrkranz opened this issue Oct 9, 2024 · 0 comments

Comments

@dktrkranz
Copy link
Contributor

Forwarded from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084522

gp-saml-gui assumes openconnect is in $PATH. If that is not the case, it's not possible to execute the command.
Would it be possible and advisable to append at least /sbin folder to $PATH using os.environ, so to handle this scenario?
os.environ["PATH"] += os.pathsep + "/sbin"

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

No branches or pull requests

1 participant