Sign in
◑
Theme
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/main
/
.
/
test
/
fixtures
/
parent-process-nonpersistent-fork.js
blob: 49c0a1d1838135e4c2e8474edf40b45eceb3fe2b [
file
] [
edit
]
const
fork
=
require
(
'child_process'
).
fork
;
const
path
=
require
(
'path'
);
const
child
=
fork
(
path
.
join
(
__dirname
,
'child-process-persistent.js'
),
[],
{
detached
:
true
,
stdio
:
'ignore'
}
);
console
.
log
(
child
.
pid
);
child
.
unref
();