U:RDoc::AnyMethod[iI"pid:ETI" IO#pid;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"?Returns the process ID of a child process associated with ;TI"=ios. This will be set by IO.popen.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"pipe = IO.popen("-") ;TI" if pipe ;TI": $stderr.puts "In parent, child pid is #{pipe.pid}" ;TI" else ;TI"- $stderr.puts "In child, pid is #{$$}" ;TI" end ;T: @format0o; ; [I"produces:;T@o; ; [I"In child, pid is 26209 ;TI""In parent, child pid is 26209;T; 0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"ios.pid -> integer ;T0[I"();T@FI"IO;TcRDoc::NormalClass00