Class: Mixlib::ShellOut::Windows::ThingThatLooksSortOfLikeAProcessStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/mixlib/shellout/windows.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) exitstatus

Returns the value of attribute exitstatus



144
145
146
# File 'lib/mixlib/shellout/windows.rb', line 144

def exitstatus
  @exitstatus
end

Instance Method Details

- (Boolean) success?

Returns:

  • (Boolean)


145
146
147
# File 'lib/mixlib/shellout/windows.rb', line 145

def success?
  exitstatus == 0
end