def call(cmd, *args, env: {})
      cmd = bin.join(cmd.to_s).to_s
      args = ["--host=#{@host}", "--xml"] + args.map(&:to_s)
      env = {
        "LD_LIBRARY_PATH" => "#{lib}:#{ENV['LD_LIBRARY_PATH']}",
        "MOABHOMEDIR" => "#{moabhomedir}"
      }.merge(env.to_h)
      o, e, s = Open3.capture3(env, cmd, *args)
      s.success? ? Nokogiri::XML(o) : raise(CommandFailed, e)
    rescue Errno::ENOENT => e
      raise InvalidCommand, e.message
    end
def call(cmd, *args, env: {})
      cmd = bin.join(cmd.to_s).to_s
      args = ["--host=#{@host}", "--xml"] + args.map(&:to_s)
      env = {
        "LD_LIBRARY_PATH" => "#{lib}:#{ENV['LD_LIBRARY_PATH']}",
        "MOABHOMEDIR" => "#{moabhomedir}"
      }.merge(env.to_h)
      o, e, s = Open3.capture3(env, cmd, *args)
      s.success? ? Nokogiri::XML(o) : raise(CommandFailed, e)
    rescue Errno::ENOENT => e
      raise InvalidCommand, e.message
    end
The comparison operator
 @param other [#to_h] object to compare against
 @return [Boolean] whether objects are equivalent
 Check whether objects are identical to each other
 @param other [#to_h] object to compare against
 @return [Boolean] whether objects are identical
 Generate a hash value for this object
 @return [Fixnum] hash value of object
 Call a binary command from the moab client installation
 @param cmd [#to_s] command run from command line
 @param *args [Array<#to_s>] any number of arguments for command
 @param env [#to_h] environment to run command under
 @return [Nokogiri::Document] the xml output from command
 @raise [CommandFailed] if command exits with nonzero exit code
 @raise [InvalidCommand] if command does not exist