/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v26.2.0
test/fixtures/parent-process-nonpersistent.js
12 строк
279 B
cjihrig
test: use const for all require() calls
03 янв 2017, 02:28
03 янв 2017, 02:28
ff1efa6
Код
Авторство
О чём код?
const spawn = require('child_process').spawn, path = require('path'), childPath = path.join(__dirname, 'child-process-persistent.js'); var child = spawn(process.execPath, [ childPath ], { detached: true, stdio: 'ignore' }); console.log(child.pid); child.unref();