(lastLines, allLines, totalLines, totalBytes, isIncomplete)
| 881 | const shellCommand = await exec(command, abortController.signal, 'bash', { |
| 882 | timeout: timeoutMs, |
| 883 | onProgress(lastLines, allLines, totalLines, totalBytes, isIncomplete) { |
| 884 | lastProgressOutput = lastLines; |
| 885 | fullOutput = allLines; |
| 886 | lastTotalLines = totalLines; |
| 887 | lastTotalBytes = isIncomplete ? totalBytes : 0; |
| 888 | // Wake the generator so it yields the new progress data |
| 889 | const resolve = resolveProgress; |
| 890 | if (resolve) { |
| 891 | resolveProgress = null; |
| 892 | resolve(); |
| 893 | } |
| 894 | }, |
| 895 | preventCwdChanges, |
| 896 | shouldUseSandbox: shouldUseSandbox(input), |
| 897 | shouldAutoBackground |
no test coverage detected