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
AtomCore
Emissary
Mixto
NodeJS
PathWatcher
StatusBar
TextBuffer
assert
atom
buffer
child_process
cluster
crypto
dgram
dns
domain
emissary
events
fs
http
https
jquery
mixto
net
os
path
pathwatcher
punycode
q
querystring
readline
repl
space-pen
stream
string_decoder
text-buffer
tls
tty
url
util
vm
zlib
ChildProcess
exec
execFile
fork
spawn