D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Process
/
Filename :
_fork-c.ri
back
Copy
U:RDoc::AnyMethod[iI" _fork:ETI"Process::_fork;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"AAn internal API for fork. Do not call this method directly. ;TI"BCurrently, this is called via Kernel#fork, Process.fork, and ;TI" IO.popen with <tt>"-"</tt>.;To:RDoc::Markup::BlankLine o; ; [I"GThis method is not for casual code but for application monitoring ;TI"Elibraries. You can add custom code before and after fork events ;TI"by overriding this method.;T@o; ; [I"KNote: Process.daemon may be implemented using fork(2) BUT does not go ;TI"through this method. ;TI"BThus, depending on your reason to hook into this method, you ;TI"*may also want to hook into that one. ;TI"ESee {this issue}[https://bugs.ruby-lang.org/issues/18911] for a ;TI"&more detailed discussion of this.;T: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I" Process._fork -> integer ;T0[ I"();T@FI"Process;TcRDoc::NormalModule00