module

Patty::Util::ProcessRunner

Class methods

run(command : String, args : Array(String)) : CommandResult
Source
run_logged(command : String, args : Array(String), log_path : String) : CommandResult

Background-launching commands must write to a real file. Capturing them with pipes can hang when the spawned child inherits those pipe handles.

Source
start_logged(command : String, args : Array(String), log_path : String) : CommandResult
Source
which(command : String) : String | Nil
Source