diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-16 21:23:53 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-16 21:23:53 +0300 |
| commit | 616d1dd8125ece4a9102b231864cb4fc4b761497 (patch) | |
| tree | 24647750130d05dcf4a0a262a1976b6bdd0fcee8 /src/detect/manifest_update.rs | |
| parent | 76a4e3ccb0958ff54badfa65ba4d224d6b0c29a1 (diff) | |
fix(windows): suppress noninteractive process windows
refs #1468
Diffstat (limited to 'src/detect/manifest_update.rs')
| -rw-r--r-- | src/detect/manifest_update.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/detect/manifest_update.rs b/src/detect/manifest_update.rs index 02efa3bc..8c5fc339 100644 --- a/src/detect/manifest_update.rs +++ b/src/detect/manifest_update.rs @@ -4,7 +4,7 @@ use std::{ fmt, fs, io::{Read, Write}, path::{Path, PathBuf}, - process::{Command, Stdio}, + process::Stdio, time::{SystemTime, UNIX_EPOCH}, }; @@ -470,9 +470,7 @@ fn catalog_url() -> String { fn fetch_text(url: &str) -> Result<String, String> { let max_fetch_bytes = MAX_FETCH_BYTES.to_string(); - let mut command = Command::new("curl"); - crate::platform::configure_background_command(&mut command); - let mut child = command + let mut child = crate::noninteractive_process::curl_command() .args([ "-sfL", "--retry", |
