class Run::ProcessGroup
- Run::ProcessGroup
- Reference
- Object
Defined in:
run/process_group.crInstance Method Summary
-
#[](*args)
Delegated to [] of the result of
#processes
. -
#[]?(*args)
Delegated to []? of the result of
#processes
. -
#abort(signal = nil)
Aborts all the descendant processes.
-
#children : Array(Run::Process | Run::ProcessGroup)
Returns all the child processes and groups that directly belong to this group.
-
#context : Context
Returns this context.
-
#parent : ProcessGroup
Returns this parent group.
-
#parent? : ProcessGroup | Nil
Returns this parent group.
-
#process_groups : Array(Run::ProcessGroup)
Returns all the child process groups that directly belong to this group.
-
#processes : Array(Run::Process)
Returns all the child processes that directly belong to this group.
-
#root : ProcessGroup
Returns this root group.
-
#root?
Tests if this group is the root.
-
#success?
Tests if all the child processes and groups successfully terminated.
-
#wait
Waits for all the child processes and groups to terminate.
Instance Method Detail
Returns all the child processes and groups that directly belong to this group.
Returns all the child process groups that directly belong to this group.
Returns all the child processes that directly belong to this group.