From 0e8a53514ebf5db00435b38c851f5fdc37ed4aa1 Mon Sep 17 00:00:00 2001 From: Vexu <15308111+Vexu@users.noreply.github.com> Date: Tue, 19 Nov 2019 13:13:02 +0200 Subject: [PATCH] add missing error set to ChildProsess.SpawnError --- lib/std/child_process.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig index d329855c03..680c378c0d 100644 --- a/lib/std/child_process.zig +++ b/lib/std/child_process.zig @@ -63,7 +63,7 @@ pub const ChildProcess = struct { /// Windows-only. `cwd` was provided, but the path did not exist when spawning the child process. CurrentWorkingDirectoryUnlinked, - } || os.ExecveError || os.SetIdError || os.ChangeCurDirError || windows.CreateProcessError; + } || os.ExecveError || os.SetIdError || os.ChangeCurDirError || windows.CreateProcessError || windows.WaitForSingleObjectError; pub const Term = union(enum) { Exited: u32,