From b13185cdd55c8580aabb4bd96e21bdbf0639431c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Mon, 29 Jan 2024 11:32:39 -0500 Subject: [PATCH] feat(xcode): Print redirected output file path when going to the background (#1920) --- src/utils/xcode.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/xcode.rs b/src/utils/xcode.rs index 59b5ba0360..1eea36f027 100644 --- a/src/utils/xcode.rs +++ b/src/utils/xcode.rs @@ -403,9 +403,12 @@ impl<'a> MayDetach<'a> { return Ok(false); } + let output_file = TempFile::create()?; + println!("Continuing in background."); + println!("Output is redirected to {}", output_file.path().display()); show_notification("Sentry", &format!("{} starting", self.task_name))?; - let output_file = TempFile::create()?; + daemonize_redirect( Some(output_file.path()), Some(output_file.path()),