sf-static/test/node/lib/node_modules/pstree.remy/tests/fixtures/index.js

9 lines
173 B
JavaScript
Raw Permalink Normal View History

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