aboutsummaryrefslogtreecommitdiff
path: root/src/remote/unix.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-16 21:23:53 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-16 21:23:53 +0300
commit616d1dd8125ece4a9102b231864cb4fc4b761497 (patch)
tree24647750130d05dcf4a0a262a1976b6bdd0fcee8 /src/remote/unix.rs
parent76a4e3ccb0958ff54badfa65ba4d224d6b0c29a1 (diff)
fix(windows): suppress noninteractive process windows
refs #1468
Diffstat (limited to 'src/remote/unix.rs')
-rw-r--r--src/remote/unix.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/unix.rs b/src/remote/unix.rs
index 7544585f..40e8bb45 100644
--- a/src/remote/unix.rs
+++ b/src/remote/unix.rs
@@ -1449,7 +1449,7 @@ fn download_release_asset(platform: &RemotePlatform) -> io::Result<InstallSource
let dir = private_download_dir(&asset_key)?;
let path = dir.join("herdr.tmp");
- let status = Command::new("curl")
+ let status = crate::noninteractive_process::curl_command()
.args(["-sfL", "--max-time", "120", "-o"])
.arg(&path)
.arg(&asset.url)
@@ -1473,7 +1473,7 @@ fn download_release_asset(platform: &RemotePlatform) -> io::Result<InstallSource
}
fn fetch_remote_manifest(url: &str) -> io::Result<Vec<u8>> {
- let output = Command::new("curl")
+ let output = crate::noninteractive_process::curl_command()
.args([
"-sfL",
"--retry",