fix stdout pipe buffer blocking during package installation

This commit is contained in:
Tw93
2025-10-13 20:13:07 +08:00
parent ceec2e071f
commit 2fb47988fc
4 changed files with 14 additions and 8 deletions

3
bin/helpers/rust.ts vendored
View File

@@ -81,6 +81,9 @@ export async function installRust() {
try {
await shellExec(
IS_WIN ? rustInstallScriptForWindows : rustInstallScriptForMac,
300000,
undefined,
true,
);
spinner.succeed(chalk.green('✔ Rust installed successfully!'));
ensureRustEnv();