⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Process
/
Status
/
Edit File: wait-c.ri
U:RDoc::AnyMethod[iI" wait:ETI"Process::Status::wait;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LWaits for a child process to exit and returns a Process::Status object ;TI"Econtaining information on that process. Which child it waits on ;TI"#depends on the value of _pid_:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I"> 0;T; [o; ; [I"7Waits for the child whose process ID equals _pid_.;T@o;;[I"0;T; [o; ; [I"CWaits for any child whose process group ID equals that of the ;TI"calling process.;T@o;;[I"-1;T; [o; ; [I"=Waits for any child process (the default if no _pid_ is ;TI"given).;T@o;;[I" < -1;T; [o; ; [I"DWaits for any child whose process group ID equals the absolute ;TI"value of _pid_.;T@o; ; [ I"AThe _flags_ argument may be a logical or of the flag values ;TI";Process::WNOHANG (do not block if no child available) ;TI"9or Process::WUNTRACED (return stopped children that ;TI"@haven't been reported). Not all flags are available on all ;TI"Dplatforms, but a flag value of zero will work on all platforms.;T@o; ; [I"4Returns +nil+ if there are no child processes. ;TI"$Not available on all platforms.;T@o; ; [I"2May invoke the scheduler hook _process_wait_.;T@o:RDoc::Markup::Verbatim; [I"=fork { exit 99 } #=> 27429 ;TI"IProcess::Status.wait #=> pid 27429 exit 99 ;TI";$? #=> nil ;TI" ;TI"=pid = fork { sleep 3 } #=> 27440 ;TI"QTime.now #=> 2008-03-08 19:56:16 +0900 ;TI";Process::Status.wait(pid, Process::WNOHANG) #=> nil ;TI"QTime.now #=> 2008-03-08 19:56:16 +0900 ;TI"IProcess::Status.wait(pid, 0) #=> pid 27440 exit 99 ;TI"QTime.now #=> 2008-03-08 19:56:19 +0900 ;T:@format0o; ; [I"%This is an EXPERIMENTAL FEATURE.;T: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"CProcess::Status.wait(pid=-1, flags=0) -> Process::Status ;T0[ I"(*args);T@OFI"Status;TcRDoc::NormalClass00
Simpan