From 145373f284aa61180aa37618b1c9c01ca6809617 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Mon, 17 Jul 2023 11:37:01 +0200 Subject: [PATCH] fix: suppress stderr and stdout of codesigning (#265) --- crates/rattler/src/install/apple_codesign.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/rattler/src/install/apple_codesign.rs b/crates/rattler/src/install/apple_codesign.rs index 4a4d98cce..b91bad257 100644 --- a/crates/rattler/src/install/apple_codesign.rs +++ b/crates/rattler/src/install/apple_codesign.rs @@ -24,6 +24,8 @@ pub(crate) fn codesign(destination_path: &Path) -> Result<(), LinkFileError> { // replace any existing signature .arg("--force") .arg(destination_path) + .stdout(std::process::Stdio::null()) // Suppress stdout + .stderr(std::process::Stdio::null()) // Suppress stderr .status()?; if !status.success() {