aboutsummaryrefslogtreecommitdiff
path: root/src/detect
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-16 20:16:23 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-16 20:16:23 +0300
commite907e6a3664608b34351344dfdfbc0431dab8760 (patch)
treedd941b378612b44032effdec68f42116fdd837f9 /src/detect
parent8915f01c6577b5507d1dd1a7851ec3ecb9154189 (diff)
fix(windows): hide agent manifest curl windows
refs #1468
Diffstat (limited to 'src/detect')
-rw-r--r--src/detect/manifest_update.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/detect/manifest_update.rs b/src/detect/manifest_update.rs
index ac06ec97..02efa3bc 100644
--- a/src/detect/manifest_update.rs
+++ b/src/detect/manifest_update.rs
@@ -470,7 +470,9 @@ fn catalog_url() -> String {
fn fetch_text(url: &str) -> Result<String, String> {
let max_fetch_bytes = MAX_FETCH_BYTES.to_string();
- let mut child = Command::new("curl")
+ let mut command = Command::new("curl");
+ crate::platform::configure_background_command(&mut command);
+ let mut child = command
.args([
"-sfL",
"--retry",