Class: Chef::ShellOut::Windows::ThingThatLooksSortOfLikeAProcessStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/chef/shell_out/windows.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exitstatusObject

Returns the value of attribute exitstatus.



123
124
125
# File 'lib/chef/shell_out/windows.rb', line 123

def exitstatus
  @exitstatus
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


124
125
126
# File 'lib/chef/shell_out/windows.rb', line 124

def success?
  exitstatus == 0
end