Skip to content

Commit 45975e3

Browse files
authored
Merge pull request #215 from OpenMined/madhava/windows-fixes3
windows fixes
2 parents 7c7001e + 6b0cc31 commit 45975e3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

cli/src/cli/commands/run_dynamic.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,10 +2369,9 @@ fn is_podman_hyperv(docker_bin: &str) -> bool {
23692369
}
23702370

23712371
// Try to detect from podman machine info
2372-
let output = Command::new(docker_bin)
2373-
.arg("machine")
2374-
.arg("inspect")
2375-
.output();
2372+
let mut cmd = Command::new(docker_bin);
2373+
super::configure_child_process(&mut cmd);
2374+
let output = cmd.arg("machine").arg("inspect").output();
23762375

23772376
if let Ok(output) = output {
23782377
let stdout = String::from_utf8_lossy(&output.stdout);

0 commit comments

Comments
 (0)