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

Avoid use of undefined std::process::Command behavior #161

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

benesch
Copy link
Collaborator

@benesch benesch commented Oct 21, 2019

std::process::Command is known to be unpredictable when a relative path
is used together with current_dir, and outright fails on macOS
Catalina 0. Absolutize paths before passing them to
std::process::Command to stay within the documented constraints of the
API.

Supersedes #160.

ghost pushed a commit to vectordotdev/rust-rdkafka that referenced this pull request Oct 22, 2019
Signed-off-by: Alexander Rodin <rodin.alexander@gmail.com>
std::process::Command is known to be unpredictable when a relative path
is used together with `current_dir`, and outright fails on macOS
Catalina [0]. Absolutize paths before passing them to
std::process::Command to stay within the documented constraints of the
API.

[0]: rust-lang/rust#37868
@benesch benesch merged commit d07c040 into fede1024:master Oct 22, 2019
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