class Run::Process
- Run::Process
- Reference
- Object
Defined in:
run/process.crInstance Method Summary
-
#abort(signal : Signal | Nil = nil)
Aborts this process.
-
#aborted? : Bool | Nil
Tests if the running process is aborted.
-
#context : Context
Returns this context.
-
#error : IO
Returns this error IO.
-
#error? : IO | Nil
Returns this error IO.
-
#exists?
Tests if the running process exists.
- #exit_code? : Int32 | Nil
-
#exited?
Tests if the process is started and exited.
-
#input : IO
Returns this input IO.
-
#input? : IO | Nil
Returns this input IO.
-
#kill(signal : Signal | Nil = nil)
Kills this process.
-
#kill!(signal : Signal | Nil = nil)
Kills this process.
-
#output : IO
Returns this output IO.
-
#output? : IO | Nil
Returns this output IO.
-
#parent : ProcessGroup
Returns this parent group.
-
#root_group : ProcessGroup
Returns this root group.
-
#source : Command
Returns this source command.
-
#started? : Bool | Nil
Tests if the running process is started.
-
#success?
Tests if the running process is successfully terminated.
-
#terminated?
Tests if the process is unstarted, exited or aborted.
-
#unstarted?
Tests if the running process is unstarted.
Instance Method Detail
Kills this process.
Raises an Errno (ESRCH) exception if no process or process group can be found.
Tests if the running process is successfully terminated.
It waits for the running process to terminate.