GLib.ChildWatchFunc
function onChildWatchFunc(pid: GLib.Pid, status: Number(gint)): void {
}
Prototype of a #GChildWatchSource callback, called when a child process has exited. To interpret status, see the documentation for GLib.spawn_check_exit_status.
- pid
the process id of the child process
- status
Status information about the child process, encoded in a platform-specific manner