Elide 1.0.0-beta2 Help

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.

node:child_process

Node.js Child Process

child_process | Classes

ChildProcess

🟡 Partially supported.

ChildProcess - Events

'close'

🔴 Not implemented.

'disconnect'

🔴 Not implemented.

'error'

🔴 Not implemented.

'exit'

🔴 Not implemented.

'message'

🔴 Not implemented.

'spawn'

🔴 Not implemented.

ChildProcess - Properties

channel

🔴 Not implemented.

connected

🟢 Supported.

exitCode

🟢 Supported.

killed

🔴 Not implemented.

pid

🟢 Supported.

signalCode

🔴 Not implemented.

spawnargs

🔴 Not implemented.

spawnfile

🔴 Not implemented.

stdin

🟢 Supported.

stderr

🟢 Supported.

stdio

🟢 Supported.

stdout

🟢 Supported.

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