Skip to content

Commit

Permalink
fix: suppress stderr and stdout of codesigning (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Jul 17, 2023
1 parent a98e99d commit 145373f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/rattler/src/install/apple_codesign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 145373f

Please sign in to comment.