class

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)
Source

Instance methods

exit_code(*args, **options)
Source
exit_code(*args, **options, &)
Source
fail
Source
fail_on_error=(fail_on_error : Bool)
Source
fail_on_error?
Source
failed?
Source
should_fail?
Source
status
Source
stderr
Source
stdout
Source
success?(*args, **options)
Source
success?(*args, **options, &)
Source

Macros

run(*args, **options)
Source

Nested types