class Run::ProcessGroup

Defined in:

run/process_group.cr

Instance Method Summary

Instance Method Detail

def [](*args) #

Delegated to [] of the result of #processes.


[View source]
def []?(*args) #

Delegated to []? of the result of #processes.


[View source]
def abort(signal = nil) #

Aborts all the descendant processes.


[View source]
def children : Array(Run::Process | Run::ProcessGroup) #

Returns all the child processes and groups that directly belong to this group.


[View source]
def context : Context #

Returns this context.


[View source]
def parent : ProcessGroup #

Returns this parent group.


[View source]
def parent? : ProcessGroup | Nil #

Returns this parent group.


[View source]
def process_groups : Array(Run::ProcessGroup) #

Returns all the child process groups that directly belong to this group.


[View source]
def processes : Array(Run::Process) #

Returns all the child processes that directly belong to this group.


[View source]
def root : ProcessGroup #

Returns this root group.


[View source]
def root? #

Tests if this group is the root.


[View source]
def success? #

Tests if all the child processes and groups successfully terminated.


[View source]
def wait #

Waits for all the child processes and groups to terminate.


[View source]