toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-actions-toolkit
/
actions.exec
/
ToolRunner
Tool
Runner
external
class
ToolRunner
:
EventEmitter
(
source
)
Members
Constructors
Tool
Runner
Link copied to clipboard
constructor
(
toolPath
:
String
,
args
:
ReadonlyArray
<
String
>
=
definedExternally
,
options
:
ExecOptions
=
definedExternally
)
Functions
event
Names
Link copied to clipboard
fun
eventNames
(
)
:
Array
<
Any
>
exec
Link copied to clipboard
fun
exec
(
)
:
Promise
<
Number
>
Exec a tool. Output will be streamed to the live console. Returns promise with return code
get
Max
Listeners
Link copied to clipboard
fun
getMaxListeners
(
)
:
Double
set
Max
Listeners
Link copied to clipboard
fun
setMaxListeners
(
n
:
Number
)