Skip to content

Commit bea48ad

Browse files
authored
[DOC] fixed pid shown in the doc comment on fork
1 parent 5eb17ea commit bea48ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4233,7 +4233,7 @@ rb_proc__fork(VALUE _obj)
42334233
* puts "Before the fork: #{Process.pid}"
42344234
* fork do
42354235
* puts "In the child process: #{Process.pid}"
4236-
* end # => 382141
4236+
* end # => 420520
42374237
* puts "After the fork: #{Process.pid}"
42384238
*
42394239
* Output:

0 commit comments

Comments
 (0)