signaled?

stat.signaled? â true or false Instance Public methods Returns true if stat terminated because of an uncaught signal.

stopped?

stat.stopped? â true or false Instance Public methods Returns true if this process is stopped. This is only returned if the corresponding wait call had the WUNTRACED flag set.

stopsig

stat.stopsig â fixnum or nil Instance Public methods Returns the number of the signal that caused stat to stop (or nil if self is not stopped).

success?

stat.success? â true, false or nil Instance Public methods Returns true if stat is successful, false if not. Returns nil if exited? is not true.

termsig

stat.termsig â fixnum or nil Instance Public methods Returns the number of the signal that caused stat to terminate (or nil if self was not terminated by an uncaught signal).

to_i

stat.to_i â fixnumstat.to_int â fixnum Instance Public methods Returns the bits in stat as a Fixnum. Poking around in these bits is platform dependent. fork { exit 0xab } #=> 26566 Process.wait #=> 26566 sprintf('%04x', $?.to_i) #=> "ab00"

to_s

stat.to_s â string Instance Public methods Show pid and exit status as a string. system("false") p $?.to_s #=> "pid 12766 exit 1"

getegid

Process.egid â fixnumProcess::GID.eid â fixnumProcess::Sys.geteid â fixnum Class Public methods Returns the effective group ID for this process. Not available on all platforms. Process.egid #=> 500

geteuid

Process.euid â fixnumProcess::UID.eid â fixnumProcess::Sys.geteuid â fixnum Class Public methods Returns the effective user ID for this process. Process.euid #=> 501

getgid

Process.gid â fixnumProcess::GID.rid â fixnumProcess::Sys.getgid â fixnum Class Public methods Returns the (real) group ID for this process. Process.gid #=> 500