зеркало из https://github.com/github/ruby.git
[DOC] Process::Status.wait return nil if no child processes [ci skip]
This commit is contained in:
Родитель
70a311fdeb
Коммит
4e5156621e
|
@ -1367,8 +1367,8 @@ rb_process_status_wait(rb_pid_t pid, int flags)
|
||||||
* haven't been reported). Not all flags are available on all
|
* haven't been reported). Not all flags are available on all
|
||||||
* platforms, but a flag value of zero will work on all platforms.
|
* platforms, but a flag value of zero will work on all platforms.
|
||||||
*
|
*
|
||||||
* Calling this method raises a SystemCallError if there are no child
|
* Returns +nil+ if there are no child processes.
|
||||||
* processes. Not available on all platforms.
|
* Not available on all platforms.
|
||||||
*
|
*
|
||||||
* May invoke the scheduler hook _process_wait_.
|
* May invoke the scheduler hook _process_wait_.
|
||||||
*
|
*
|
||||||
|
@ -1383,7 +1383,7 @@ rb_process_status_wait(rb_pid_t pid, int flags)
|
||||||
* Process::Status.wait(pid, 0) #=> pid 27440 exit 99
|
* Process::Status.wait(pid, 0) #=> pid 27440 exit 99
|
||||||
* Time.now #=> 2008-03-08 19:56:19 +0900
|
* Time.now #=> 2008-03-08 19:56:19 +0900
|
||||||
*
|
*
|
||||||
* EXPERIMENTAL FEATURE
|
* This is an EXPERIMENTAL FEATURE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
|
|
Загрузка…
Ссылка в новой задаче