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

Added windows compatibility #38

Merged
merged 4 commits into from
Feb 1, 2024
Merged

Added windows compatibility #38

merged 4 commits into from
Feb 1, 2024

Conversation

khoroshevskyi
Copy link
Member

No description provided.

# Use `command` to see if command is callable, and rule on exit code.
check = "command -v {0} >/dev/null 2>&1 || {{ exit 1; }}".format(cmd)
return not bool(os.system(check))
if os.name == "nt":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment here to explain what you're doing?

@nsheff
Copy link
Contributor

nsheff commented Feb 1, 2024

one small suggestion, then go ahead and merge

@nsheff nsheff merged commit 92fb3b4 into master Feb 1, 2024
3 checks passed
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