class
Fluorite::Runner::ProcessRunner
- Fluorite::Runner::ProcessRunner
- Reference
- Object
Defined in:
fluorite/runner/process_runner.crConstructors
Instance Method Summary
- #args : Array(String)
- #command_string : String
- #error_log : IO::Memory
- #exit_status : Process::Status | Nil
-
#kill : Nil
Gracefully terminates or kills the process
- #latest_progress : Progress
- #on_error(&block : Exception -> Nil) : self
- #on_finish(&block : Process::Status -> Nil) : self
- #on_log(&block : String -> Nil) : self
- #on_progress(&block : Progress -> Nil) : self
- #on_start(&block : String -> Nil) : self
-
#run : Process::Status
Executes the command synchronously, blocking until finished
-
#run_async : self
Launches execution in background fibers
- #running? : Bool
- #total_duration : Time::Span | Nil
-
#wait : Process::Status
Waits for the running process to complete