method

to_s

to_s()
public

Show pid and exit status as a string.

system("false")
p $?.to_s         #=> "pid 12766 exit 1"