mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Apply syntax_tree formatting to script/*
This commit is contained in:
@ -13,20 +13,22 @@ end
|
||||
Discourse.after_fork
|
||||
pretty
|
||||
|
||||
child = fork do
|
||||
Discourse.after_fork
|
||||
pretty
|
||||
grand_child = fork do
|
||||
child =
|
||||
fork do
|
||||
Discourse.after_fork
|
||||
pretty
|
||||
puts "try to exit"
|
||||
grand_child =
|
||||
fork do
|
||||
Discourse.after_fork
|
||||
pretty
|
||||
puts "try to exit"
|
||||
Process.kill "KILL", Process.pid
|
||||
end
|
||||
puts "before wait 2"
|
||||
Process.wait grand_child
|
||||
puts "after wait 2"
|
||||
Process.kill "KILL", Process.pid
|
||||
end
|
||||
puts "before wait 2"
|
||||
Process.wait grand_child
|
||||
puts "after wait 2"
|
||||
Process.kill "KILL", Process.pid
|
||||
end
|
||||
|
||||
puts "before wait 1"
|
||||
Process.wait child
|
||||
|
Reference in New Issue
Block a user