diff --git a/startWithYarn.cjs b/startWithYarn.cjs index 1cf834e..6d4a530 100644 --- a/startWithYarn.cjs +++ b/startWithYarn.cjs @@ -1 +1 @@ -require('node:child_process').exec('yarn node dist/index.js', {windowsHide:true}, (error,stdout)=>{console.log(stdout); console.error(error)}) \ No newline at end of file +require('node:child_process').spawn('yarn node dist/index.js', {stdio: 'inherit', windowsHide: true, shell: true}) \ No newline at end of file