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

Fix mfa_process compatibility issue on Windows #1255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uubk
Copy link

@uubk uubk commented Sep 30, 2024

This should address #1241 - windows doesn't have /bin/sh.
However, using cmd instead is also not quite straightforward since exec.Command has some pitfalls on windows. This implements the suggested upstream workaround and allows us to launch mfa_process correctly on windows, even if the binary is in a path with spaces.

Windows doesn't have /bin/sh - use cmd instead if executing an MFA
command on windows.
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