dijkstra-backend-cloudron/node_modules/pstree.remy/tests/fixtures/index.js

9 lines
173 B
JavaScript

const spawn = require('child_process').spawn;
const sub = spawn(
'sh',
['-c', 'node -e "setInterval(() => console.log(`running`), 200)"'],
{
stdio: 'pipe',
}
);