Fix rustup and cargo install-update execution
This commit is contained in:
parent
118640ec1c
commit
08e5e6f5a3
@ -148,6 +148,7 @@ impl Cmd {
|
|||||||
let mut cmd = Command::new(&self.exe);
|
let mut cmd = Command::new(&self.exe);
|
||||||
cmd.args(&self.params)
|
cmd.args(&self.params)
|
||||||
.env_clear()
|
.env_clear()
|
||||||
|
.env("PATH", std::env!("PATH"))
|
||||||
.envs(&self.env)
|
.envs(&self.env)
|
||||||
// .stdout(cfg)
|
// .stdout(cfg)
|
||||||
// .stderr(cfg)
|
// .stderr(cfg)
|
||||||
|
Loading…
Reference in New Issue
Block a user