add missing error set to ChildProsess.SpawnError

This commit is contained in:
Vexu 2019-11-19 13:13:02 +02:00 committed by Andrew Kelley
parent 94299d16d1
commit 0e8a53514e
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

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