From 77854f46274d464a9171deb07e61858f57963d1c Mon Sep 17 00:00:00 2001 From: Xiaobo Liu Date: Mon, 29 Sep 2025 00:54:26 +0800 Subject: [PATCH] windows: Refactor shell environment capture to use new_smol_command (#39055) Using `crate::command::new_smol_command` on the Windows platform will not display the PowerShell window. Closes #39052 Release Notes: - N/A Signed-off-by: Xiaobo Liu --- crates/util/src/shell_env.rs | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/crates/util/src/shell_env.rs b/crates/util/src/shell_env.rs index 475e51fb0e50d02a595f29d6362300f6ad9ed8d9..066d87ea5d4667b96bdda4d30bec4ec944bb4d39 100644 --- a/crates/util/src/shell_env.rs +++ b/crates/util/src/shell_env.rs @@ -108,21 +108,22 @@ pub async fn capture(directory: &std::path::Path) -> Result