diff --git a/lib/app.ts b/lib/app.ts index 9681f028..8ae67afb 100644 --- a/lib/app.ts +++ b/lib/app.ts @@ -37,6 +37,9 @@ export async function run( // shared options, and performs node version requirement checks. globalInit(); await routeCliFramework(cliArgs, options); + + // Windows fix: reading from stdin prevents the process from exiting + process.stdin.pause(); } /**