| ... | @@ -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 | } |
| 127 | | 127 | |
| 128 | pub const CollectOutputError = error{ | 128 | pub const CollectOutputError = error{StreamTooLong} || Allocator.Error || Io.File.Reader.Error; |
| 129 | Timeout, | | |
| 130 | StreamTooLong, | | |
| 131 | } || Allocator.Error || Io.File.Reader.Error; | | |
| 132 | | 129 | |
| 133 | pub const CollectOutputOptions = struct { | 130 | pub const CollectOutputOptions = struct { |
| 134 | stdout: *std.ArrayList(u8), | 131 | stdout: *std.ArrayList(u8), |