authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-29 22:58:54-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 22:03:14-08:00
loga520355e4ca8f190d5c470413308bb4c8cb8b526
tree372d197cc985822d29ab1ca030213fb2975b652c
parenta41ee5994d7f1f8dbecf54cdba0d56864d95ef99

std.process: simplify RunError set


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

lib/std/process.zig+2-2
...@@ -453,9 +453,9 @@ pub fn spawnPath(io: Io, dir: Io.Dir, options: SpawnOptions) SpawnError!Child {...@@ -453,9 +453,9 @@ pub fn spawnPath(io: Io, dir: Io.Dir, options: SpawnOptions) SpawnError!Child {
453 return io.vtable.processSpawnPath(io.userdata, dir, options);453 return io.vtable.processSpawnPath(io.userdata, dir, options);
454}454}
455455
456pub const RunError = SpawnError || error{456pub const RunError = error{
457 StreamTooLong,457 StreamTooLong,
458} || Io.ConcurrentError || Allocator.Error || Io.File.Reader.Error || Io.Timeout.Error;458} || SpawnError || Io.File.MultiReader.UnendingError || Io.Timeout.Error;
459459
460pub const RunOptions = struct {460pub const RunOptions = struct {
461 argv: []const []const u8,461 argv: []const []const u8,