class Exec

Defined in:

exec.cr

Constant Summary

VERSION = "0.1.1"

Class Method Summary

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 #

[View source]
def self.each_line(command, chomp = false, &block : String -> ) : Nil #

[View source]
def self.each_line(command, chomp = false) #

[View source]
def self.output(command, chomp = true) : String #

[View source]
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 #

[View source]