Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
child_process
ChildProcess
Interface ChildProcess
Hierarchy
NodeEventEmitter
ChildProcess
Index
Properties
pid
stderr
stdin
stdout
Methods
addListener
disconnect
emit
kill
listeners
on
once
removeAllListener
removeListener
send
setMaxListeners
Properties
public
pid
:
number
public
stderr
:
ReadableStream
public
stdin
:
WritableStream
public
stdout
:
ReadableStream
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
disconnect
(
)
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
kill
(
signal
?:
string
)
Parameters
signal?:
string
optional
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
send
(
message
:
any
, sendHandle
:
any
)
Parameters
message:
any
sendHandle:
any
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
Globals
assert
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
ChildProcess
pid
stderr
stdin
stdout
addListener
disconnect
emit
kill
listeners
on
once
removeAllListener
removeListener
send
setMaxListeners
exec
execFile
fork
spawn