(opts?: {
backgroundTaskId?: string
stderr?: string
code?: number
})
| 411 | readonly taskOutput: TaskOutput |
| 412 | |
| 413 | constructor(opts?: { |
| 414 | backgroundTaskId?: string |
| 415 | stderr?: string |
| 416 | code?: number |
| 417 | }) { |
| 418 | this.taskOutput = new TaskOutput(generateTaskId('local_bash'), null) |
| 419 | this.result = Promise.resolve({ |
| 420 | code: opts?.code ?? 145, |
| 421 | stdout: '', |
| 422 | stderr: opts?.stderr ?? 'Command aborted before execution', |
| 423 | interrupted: true, |
| 424 | backgroundTaskId: opts?.backgroundTaskId, |
| 425 | }) |
| 426 | } |
| 427 | |
| 428 | background(): boolean { |
| 429 | return false |
nothing calls this directly
no test coverage detected