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

Add Command::absolute_path constructor #102

Conversation

stanislav-tkach
Copy link

I'm not sure if it is the right approach to fix the #101 issue, but I would like to use the CARGO_BIN_EXE_... environment variable.

Additionally I'm not sure about naming. Logically it would be better to name the constructor from_absolute_path, but is somewhat too long and existing cargo_bin constructor did not use the use "from" naming either.

@epage
Copy link
Contributor

epage commented May 5, 2020

Could you help me understand how from_absolute_path is different than new?

@stanislav-tkach
Copy link
Author

@epage Looks like I totally missed the new method. 😅 For some reason I only noticed from_std and cargo_bin. I'm going to close this pull request, sorry for bothering.

@stanislav-tkach stanislav-tkach deleted the command-from-absolute-path branch May 6, 2020 07:05
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