From 616d1dd8125ece4a9102b231864cb4fc4b761497 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Thu, 16 Jul 2026 21:23:53 +0300 Subject: fix(windows): suppress noninteractive process windows refs #1468 --- src/update.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/update.rs') diff --git a/src/update.rs b/src/update.rs index 8ef77840..eac917bf 100644 --- a/src/update.rs +++ b/src/update.rs @@ -294,7 +294,7 @@ fn fetch_json_manifest(url: &str) -> Result where T: serde::de::DeserializeOwned, { - let output = Command::new("curl") + let output = crate::noninteractive_process::curl_command() .args([ "-sfL", "--retry", @@ -508,7 +508,7 @@ fn homebrew_update_from_formula_json( fn check_homebrew_latest() -> Result, String> { let current = Version::current(); - let output = Command::new("curl") + let output = crate::noninteractive_process::curl_command() .args([ "-sfL", "--retry", @@ -571,7 +571,7 @@ fn download_update(release: &ReleaseInfo) -> Result { let tmp_path = parent.join(format!(".herdr-update-{}.tmp", std::process::id())); // Download the exact asset URL (pinned to the release we checked) - let status = Command::new("curl") + let status = crate::noninteractive_process::curl_command() .args(["-sfL", "--max-time", "120", "-o"]) .arg(&tmp_path) .arg(&release.download_url) -- cgit v1.2.3