mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.process: simplify RunError set
This commit is contained in:
parent
a41ee5994d
commit
a520355e4c
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue