From 2271f30c236ff0339daa9747c541233940f4f9aa Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Wed, 24 Jun 2026 09:56:28 +0800 Subject: [PATCH] fix(macos): seal stdin on POSIX toolchain install (first-run Enter-press hang) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit First-run toolchain install (e.g. llvm@20.1.7) paused waiting for the user to press Enter on macOS — the '需要回车才能继续' report. The direct `xlings install -y` path sealed stdin only on Windows; POSIX 'kept stdin open to stay conservative', so xlings or a grandchild (curl/git/xcode-select/brew prompt) could block on a terminal read. `-y` already makes it non-interactive, so the seal only removes spurious blocking. Seal stdin on POSIX too ( std::string { if constexpr (mcpp::platform::is_windows) { - return std::format("{} interface install_packages --args {} {}", + return std::format("{} interface install_packages --args {} {}