std.process: simplify RunError set

This commit is contained in:
Andrew Kelley 2026-01-29 22:58:54 -08:00
parent a41ee5994d
commit a520355e4c

View file

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