We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rust Command cannot find az command on (some) windows systems. Most certainly it is related to how command is implemented: see rust-lang/rust#42791 and https://doc.rust-lang.org/nightly/std/process/struct.Command.html.
az
I think az is az.cmd on windows and it should be called with cmd /c
az.cmd
cmd /c
let az_command = Command::new("cmd") .args(&[ "/C", "az", "account", "get-access-token", "--output", "json", "--resource", resource, ]) .output();
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
rust Command cannot find
az
command on (some) windows systems. Most certainly it is related to how command is implemented:see rust-lang/rust#42791 and https://doc.rust-lang.org/nightly/std/process/struct.Command.html.
I think
az
isaz.cmd
on windows and it should be called withcmd /c
The text was updated successfully, but these errors were encountered: