current commit
170102.7 · test: use const for all require() calls

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();