2024-09-12 12:24:58 -07:00
|
|
|
// deno-fmt-ignore-file
|
|
|
|
// deno-lint-ignore-file
|
|
|
|
|
|
|
|
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
|
2025-02-11 14:00:38 +09:00
|
|
|
// Taken from Node 20.11.1
|
2024-09-12 12:24:58 -07:00
|
|
|
// This file is automatically generated by `tests/node_compat/runner/setup.ts`. Do not modify this file manually.
|
|
|
|
|
|
|
|
|
|
|
|
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();
|