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 12:10:02-08:00
log10bec043f52c08eef73b758042139635e535c0d3
treedfb9e1ede6b912bf39ff274d5f5c6259ac2181c8
parenta8608653032c7e904bc90454a0f8617f8c1a4267

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,