Method: ChildProcess::AbstractProcess#leader
- Defined in:
- lib/childprocess/abstract_process.rb
#leader ⇒ Object
Set this to true to make the child process the leader of a new process group
This can be used to make sure that all grandchildren are killed when the child process dies.
34 35 36 |
# File 'lib/childprocess/abstract_process.rb', line 34 def leader @leader end |