Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
child_process
Dynamic module child_process
Index
Classes
ChildProcess
Functions
exec
execFile
fork
spawn
Functions
exec
(
command
:
string
, options
:
{ cwd?: string; stdio?: any; customFds?: any; env?: any; encoding?: string; timeout?: number; maxBuffer?: number; killSignal?: string; }
, callback
:
(error: Error, stdout: Buffer, stderr: Buffer) => void
)
:
ChildProcess
Parameters
command:
string
options:
{ cwd?: string; stdio?: any; customFds?: any; env?: any; encoding?: string; timeout?: number; maxBuffer?: number; killSignal?: string; }
callback:
(error: Error, stdout: Buffer, stderr: Buffer) => void
Returns
ChildProcess
exec
(
command
:
string
, callback
:
(error: Error, stdout: Buffer, stderr: Buffer) => void
)
:
ChildProcess
Parameters
command:
string
callback:
(error: Error, stdout: Buffer, stderr: Buffer) => void
Returns
ChildProcess
execFile
(
file
:
string
, args
:
Array<string>
, options
:
{ cwd?: string; stdio?: any; customFds?: any; env?: any; encoding?: string; timeout?: number; maxBuffer?: string; killSignal?: string; }
, callback
:
(error: Error, stdout: Buffer, stderr: Buffer) => void
)
:
ChildProcess
Parameters
file:
string
args:
Array<string>
options:
{ cwd?: string; stdio?: any; customFds?: any; env?: any; encoding?: string; timeout?: number; maxBuffer?: string; killSignal?: string; }
callback:
(error: Error, stdout: Buffer, stderr: Buffer) => void
Returns
ChildProcess
fork
(
modulePath
:
string
, args
?:
Array<string>
, options
?:
{ cwd?: string; env?: any; encoding?: string; }
)
:
ChildProcess
Parameters
modulePath:
string
args?:
Array<string>
optional
options?:
{ cwd?: string; env?: any; encoding?: string; }
optional
Returns
ChildProcess
spawn
(
command
:
string
, args
?:
Array<string>
, options
?:
{ cwd?: string; stdio?: any; custom?: any; env?: any; detached?: boolean; }
)
:
ChildProcess
Parameters
command:
string
args?:
Array<string>
optional
options?:
{ cwd?: string; stdio?: any; custom?: any; env?: any; detached?: boolean; }
optional
Returns
ChildProcess
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
from
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
ChildProcess
exec
execFile
fork
spawn