Shell
Inherits Reference < Object
Constructors
new(cmd : String, args : Array(String) | Nil = nil, stdout : Process::Stdio = IO::Memory.new, stderr : Process::Stdio = IO::Memory.new, stdin : Process::Stdio = Process::Redirect::Close, chdir : String | Nil = nil, env : Process::Env = nil, clear_env : Bool = false, fail_on_error : Bool = true)
SourceInstance methods
cmd
Sourceexit_code(*args, **options)
Sourceexit_code(*args, **options, &)
Sourcefail
Sourcefail_on_error=(fail_on_error : Bool)
Sourcefail_on_error?
Sourcefailed?
Sourcerun
Sourceshould_fail?
Sourcestatus
Sourcestderr
Sourcestdout
Sourcesuccess?(*args, **options)
Sourcesuccess?(*args, **options, &)
SourceMacros
run(*args, **options)
Source