Add waitUntilExit() fallbacks to ProcessManager.runStreaming and runCaptured so fast child exits cannot race past the terminationHandler. Keep the existing terminationHandler, 2-second forceKill/forceFinalize watchdog, parent write-end close, ARGYLL_NOT_INTERACTIVE=1, chartread pre-kill q\n + ~500 ms, killAll, and readDataToEndOfFile() output collection.
Retain TargetWorkflowViewModel.printTask across printAllPages / printPage so the unstructured Task is not dropped before it resumes.
Add two ProcessManagerTests covering fast-exit and stderr-only captured runs.
Add `waitUntilExit()` fallbacks to `ProcessManager.runStreaming` and `runCaptured` so fast child exits cannot race past the `terminationHandler`. Keep the existing `terminationHandler`, 2-second `forceKill`/`forceFinalize` watchdog, parent write-end close, `ARGYLL_NOT_INTERACTIVE=1`, chartread pre-kill `q\n` + ~500 ms, `killAll`, and `readDataToEndOfFile()` output collection.
Retain `TargetWorkflowViewModel.printTask` across `printAllPages` / `printPage` so the unstructured `Task` is not dropped before it resumes.
Add two `ProcessManagerTests` covering fast-exit and stderr-only captured runs.
Target: `develop`
Branch: `fix/process-wait-and-print-task`
Add waitUntilExit() fallbacks to ProcessManager.runStreaming and
runCaptured so fast child exits cannot race past the terminationHandler.
Retain TargetWorkflowViewModel.printTask across printAllPages/printPage
to prevent the unstructured Task from being dropped before it resumes.
Add two ProcessManager tests covering fast-exit and stderr-only
captured runs.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add
waitUntilExit()fallbacks toProcessManager.runStreamingandrunCapturedso fast child exits cannot race past theterminationHandler. Keep the existingterminationHandler, 2-secondforceKill/forceFinalizewatchdog, parent write-end close,ARGYLL_NOT_INTERACTIVE=1, chartread pre-killq\n+ ~500 ms,killAll, andreadDataToEndOfFile()output collection.Retain
TargetWorkflowViewModel.printTaskacrossprintAllPages/printPageso the unstructuredTaskis not dropped before it resumes.Add two
ProcessManagerTestscovering fast-exit and stderr-only captured runs.Target:
developBranch:
fix/process-wait-and-print-task