mirror of https://github.com/actions/toolkit
Added support for signal
parent
91d3933eb5
commit
a18d4e2f40
|
@ -380,6 +380,7 @@ export class ToolRunner extends events.EventEmitter {
|
||||||
const result = <child.SpawnOptions>{}
|
const result = <child.SpawnOptions>{}
|
||||||
result.cwd = options.cwd
|
result.cwd = options.cwd
|
||||||
result.env = options.env
|
result.env = options.env
|
||||||
|
result.signal = options.signal
|
||||||
result['windowsVerbatimArguments'] =
|
result['windowsVerbatimArguments'] =
|
||||||
options.windowsVerbatimArguments || this._isCmdFile()
|
options.windowsVerbatimArguments || this._isCmdFile()
|
||||||
if (options.windowsVerbatimArguments) {
|
if (options.windowsVerbatimArguments) {
|
||||||
|
|
Loading…
Reference in New Issue