Mono Class Library: Mono.Unix.UnixProcess Overview | MembersMono.Unix.UnixProcess.WaitForExit Method |
Wait for the process to exit. [Edit]
|
Type Reason Mono.Unix.UnixIOException The calling process has no existing unwaited-for child processes. [Mono.Unix.Native.Errno.ECHILD]
-or-
No status from the terminated child process is available because the calling process has asked the system to discard such status by ignoring the signal Mono.Unix.Native.Signum.SIGCHLD or setting the flag Mono.Unix.Native.TODO.SA_NOCLDWAIT for that signal. [Mono.Unix.Native.Errno.ECHILD]
-or-
The call was interrupted by a caught signal, or the signal did not have the Mono.Unix.Native.TODO.SA_RESTART flag set. [Mono.Unix.Native.Errno.EINTR]
[Edit]
Calling this method on the Mono.Unix.UnixProcess returned by UnixProcess.GetCurrentProcess will generate a Mono.Unix.UnixIOException [Mono.Unix.Native.Errno.ECHILD]. [Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0