Class SSHKit::Command
In: lib/sshkit/command.rb
Parent: Object

@author Lee Hambley

Methods

Constants

Failed = Class.new(SSHKit::StandardError)

Attributes

args  [R] 
command  [R] 
exit_status  [R] 
full_stderr  [R] 
full_stdout  [R] 
options  [R] 
started  [R] 
started_at  [R] 

Public Class methods

Initialize a new Command object

@param [Array] A list of arguments, the first is considered to be the command name, with optional variadaric args @return [Command] An un-started command object with no exit staus, and nothing in stdin or stdout

Public Instance methods

failed?()

Alias for failure?

finished?()

Alias for complete?

successful?()

Alias for success?

[Validate]