fix(windows): hide terminal windows when spawning child processes

This commit is contained in:
CrystallDEV
2025-12-10 00:15:14 +01:00
parent 65e5411c21
commit 5f36d2bf9a
4 changed files with 23 additions and 15 deletions
+2 -1
View File
@@ -89,7 +89,8 @@ export function getCurrentProjectName(): string {
const gitRoot = execSync('git rev-parse --show-toplevel', {
cwd: process.cwd(),
encoding: 'utf8',
stdio: ['pipe', 'pipe', 'ignore']
stdio: ['pipe', 'pipe', 'ignore'],
windowsHide: true
}).trim();
return basename(gitRoot);
} catch {