(lastLines, allLines, totalLines, totalBytes, isIncomplete)
| 731 | shellCommand = await exec(command, abortController.signal, 'powershell', { |
| 732 | timeout: timeoutMs, |
| 733 | onProgress(lastLines, allLines, totalLines, totalBytes, isIncomplete) { |
| 734 | lastProgressOutput = lastLines; |
| 735 | fullOutput = allLines; |
| 736 | lastTotalLines = totalLines; |
| 737 | lastTotalBytes = isIncomplete ? totalBytes : 0; |
| 738 | }, |
| 739 | preventCwdChanges, |
| 740 | // Sandbox works on Linux/macOS/WSL2 — pwsh there is a native binary and |
| 741 | // SandboxManager.wrapWithSandbox wraps it same as bash (Shell.ts uses |