Commit 0e8a53514e

Vexu <15308111+Vexu@users.noreply.github.com>
2019-11-19 12:13:02
add missing error set to ChildProsess.SpawnError
1 parent 94299d1
Changed files (1)
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,