class Exec
- Exec
- Process
- Reference
- Object
Defined in:
exec.crConstant Summary
-
VERSION =
"0.1.1"
Class Method Summary
- .code(command : String, args = nil, env : Env = nil, clear_env : Bool = false, shell : Bool = true, input : Stdio = Redirect::Inherit, output : Stdio = Redirect::Inherit, error : Stdio = Redirect::Inherit, chdir : Path | String | Nil = nil) : Int32
- .each_line(command, chomp = false, &block : String -> ) : Nil
- .each_line(command, chomp = false)
- .output(command, chomp = true) : String
- .run(command : String, args = nil, env : Env = nil, clear_env : Bool = false, shell : Bool = true, input : Stdio = Redirect::Inherit, output : Stdio = Redirect::Inherit, error : Stdio = Redirect::Inherit, chdir : Path | String | Nil = nil) : Process::Status
Class Method Detail
def self.code(command : String, args = nil, env : Env = nil, clear_env : Bool = false, shell : Bool = true, input : Stdio = Redirect::Inherit, output : Stdio = Redirect::Inherit, error : Stdio = Redirect::Inherit, chdir : Path | String | Nil = nil) : Int32
#
def self.run(command : String, args = nil, env : Env = nil, clear_env : Bool = false, shell : Bool = true, input : Stdio = Redirect::Inherit, output : Stdio = Redirect::Inherit, error : Stdio = Redirect::Inherit, chdir : Path | String | Nil = nil) : Process::Status
#