1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 16:30:59 -04:00
Daggerbot-TS/startWithYarn.cjs
toast-ts 50972d7466 PM2 workaround
Sadly, no console logging for now.
2023-08-06 20:47:44 +10:00

1 line
142 B
JavaScript

require('node:child_process').exec('yarn node dist/index.js', {windowsHide:true}, (error,stdout)=>{console.log(stdout); console.error(error)})