1
0
Fork 0

Added support for signal

pull/1469/head
Francois G 2023-07-18 00:10:03 +02:00 committed by GitHub
parent 91d3933eb5
commit a18d4e2f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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) {