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-30 22:03:13-08:00
logb996675dcf5533e506eee0ed44c64aebab69af6e
treeceb5916b367109f8899127f6e7983f58ba04ee0f
parente0d06b40e3681cc9aad09764987d079fb0f9e0fa

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),