()
| 709 | // waiting for the next setTimeout tick (matches BashTool pattern). |
| 710 | let resolveProgress: (() => void) | null = null; |
| 711 | function createProgressSignal(): Promise<null> { |
| 712 | return new Promise<null>(resolve => { |
| 713 | resolveProgress = () => resolve(null); |
| 714 | }); |
| 715 | } |
| 716 | const shouldAutoBackground = !isBackgroundTasksDisabled && isAutobackgroundingAllowed(command); |
| 717 | const powershellPath = await getCachedPowerShellPath(); |
| 718 | if (!powershellPath) { |
no test coverage detected