Skip to content

Remove usage of non-portable which#346

Merged
ekalinin merged 1 commit intoekalinin:masterfrom
thesamesam:which-hunt
May 28, 2024
Merged

Remove usage of non-portable which#346
ekalinin merged 1 commit intoekalinin:masterfrom
thesamesam:which-hunt

Conversation

@thesamesam
Copy link
Copy Markdown
Contributor

  • Use Python's shutil.which() instead of shelling out to which to find Python 2
  • Use command -v instead of which in README

Fixes: #333

* Use Python's shutil.which() instead of shelling out to `which` to find Python 2
* Use `command -v` instead of `which` in README

Fixes: ekalinin#333
@ekalinin ekalinin merged commit 1024f4f into ekalinin:master May 28, 2024
@ekalinin
Copy link
Copy Markdown
Owner

Thanks!

@thesamesam
Copy link
Copy Markdown
Contributor Author

Thank you!

@thesamesam thesamesam deleted the which-hunt branch May 28, 2024 18:50
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.

Please use shutil.which() instead of external which program

2 participants