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

Replace exec package with execabs #820

Merged

Conversation

vcheung-stripe
Copy link
Collaborator

Reviewers

r? @stripe/developer-products
cc @stripe/developer-products

Summary

This replacement package always looks for the executable in an absolute path, and throws an error if the executable is in a relative path. Note that this only affects the behavior of certain commands on Windows; other operating systems are unaffected.

Internally, see here for more info.

@etsai-stripe
Copy link
Contributor

is throwing the error more explicitly the intention here?

@vcheung-stripe
Copy link
Collaborator Author

is throwing the error more explicitly the intention here?

Yeah. The executables we want to run are in a Windows system folder, and we have no reason to run executables outside of that. If that ever happens, then we should throw an error, which this package does.

@vcheung-stripe vcheung-stripe merged commit be38da5 into stripe:master Feb 16, 2022
@vcheung-stripe vcheung-stripe deleted the vcheung/replace-exec-package branch February 16, 2022 21:56
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