index.js 173 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 const spawn = require('child_process').spawn; const sub = spawn( 'sh', ['-c', 'node -e "setInterval(() => console.log(`running`), 200)"'], { stdio: 'pipe', } );