()
| 20664 | ignoreReturnCode: options.ignoreReturnCode || false, |
| 20665 | delay: options.delay || 1e4 |
| 20666 | }; |
| 20667 | result.outStream = options.outStream || process.stdout; |
| 20668 | result.errStream = options.errStream || process.stderr; |
| 20669 | return result; |
| 20670 | } |
| 20671 | _getSpawnOptions(options, toolPath) { |
| 20672 | options = options || {}; |
| 20673 | const result = {}; |
| 20674 | result.cwd = options.cwd; |
| 20675 | result.env = options.env; |
| 20676 | result["windowsVerbatimArguments"] = options.windowsVerbatimArguments || this._isCmdFile(); |
| 20677 | if (options.windowsVerbatimArguments) { |
| 20678 | result.argv0 = `"${toolPath}"`; |
| 20679 | } |
| 20680 | return result; |
| 20681 | } |
no test coverage detected