Method: ChildProcess::AbstractProcess#leader

Defined in:
lib/childprocess/abstract_process.rb

#leaderObject

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.



33
34
35
# File 'lib/childprocess/abstract_process.rb', line 33

def leader
  @leader
end