commit a520355e4ca8f190d5c470413308bb4c8cb8b526 (tree)
parent a41ee5994d7f1f8dbecf54cdba0d56864d95ef99
Author: Andrew Kelley <andrew@ziglang.org>
Date: Thu, 29 Jan 2026 22:58:54 -0800
std.process: simplify RunError set
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/process.zig b/lib/std/process.zig
@@ -453,9 +453,9 @@ pub fn spawnPath(io: Io, dir: Io.Dir, options: SpawnOptions) SpawnError!Child {
return io.vtable.processSpawnPath(io.userdata, dir, options);
}
-pub const RunError = SpawnError || error{
+pub const RunError = error{
StreamTooLong,
-} || Io.ConcurrentError || Allocator.Error || Io.File.Reader.Error || Io.Timeout.Error;
+} || SpawnError || Io.File.MultiReader.UnendingError || Io.Timeout.Error;
pub const RunOptions = struct {
argv: []const []const u8,