Child Process
API support and documentation for the node:child_process module.
import proc from "node:child_process"
const proc = require("node:child_process")
Modules
Status | Module | Docs |
|---|---|---|
🟡 Partially supported. |
|
child_process | Classes
ChildProcess🟡 Partially supported.
ChildProcess - Events
ChildProcess - Properties
ChildProcess - Methods
disconnect()🔴 Not implemented.
kill([signal])🟢 Supported.
[Symbol.dispose]()🔴 Not implemented.
ref()🔴 Not implemented.
subprocess.send(message[, sendHandle[, options]][, callback])🔴 Not implemented.
unref()🔴 Not implemented.
child_process | Methods
API support is available for spawning child processes synchronously or asynchronously; refer to the corresponding section below for your desired call style.
Process Creation (Asynchronous)
exec(command[, options][, callback])🟢 Supported.
execFile(file[, args][, options][, callback])🟢 Supported.
fork(modulePath[, args][, options])🔴 Not implemented.
spawn(command[, args][, options])🟢 Supported.
Process Creation (Synchronous)
execFileSync(file[, args][, options])🟢 Supported.
execSync(command[, options])🟢 Supported.
spawnSync(command[, args][, options])🟢 Supported.
Last modified: 15 March 2025