authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-08 16:36:18-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-09 20:47:25-08:00
logf8e1257b62b1ea5fac700e55b2597a38af82f75a
tree9ce517a05d346273f73f345537d3d8455ee77703
parent09d96c4903926052c3141d6cfe036960adc54049

fix error set


1 files changed, 1 insertions(+), 4 deletions(-)

lib/std/process/Child.zig+1-4
...@@ -125,10 +125,7 @@ pub fn wait(child: *Child, io: Io) WaitError!Term {...@@ -125,10 +125,7 @@ pub fn wait(child: *Child, io: Io) WaitError!Term {
125 return io.vtable.childWait(io.userdata, child);125 return io.vtable.childWait(io.userdata, child);
126}126}
127127
128pub const CollectOutputError = error{128pub const CollectOutputError = error{StreamTooLong} || Allocator.Error || Io.File.Reader.Error;
129 Timeout,
130 StreamTooLong,
131} || Allocator.Error || Io.File.Reader.Error;
132129
133pub const CollectOutputOptions = struct {130pub const CollectOutputOptions = struct {
134 stdout: *std.ArrayList(u8),131 stdout: *std.ArrayList(u8),