std.process.Child.collectOutput: change back to other impl

this one avoids calling poll() more than necessary
72894900ecAndrew Kelley committed on 1/30/2026, 8:10:01 PMparent45bc4b4
2 files changedLine totals unavailable