method

check

v1_9_2_180 - Show latest stable - Class: PTY
check(p1, p2 = v2)
public

checks the status of the child process specified by pid, and returns nil if the process is still alive and active. Otherwise, returns +Process::Status+ about the process if raise is false, or +PTY::ChildExited+ exception is raised.