def to_s # :nocov:
    s = []
    s << "CommandSpec:#{self.object_id}"
    s << "  digest:   #{self.digest}"
    s << "  repo:     #{self.repo}"
    s << "  bundle:   #{self.bundle}"
    s << "  command:  #{self.command}"
    s << "  args:     #{self.args}"
    s << "  user:     #{self.user}"
    s << "  group:    #{self.group}"
    s << "  env:      " + (self.env.nil?() ? "" : MultiJson.dump(self.env))
    s << "  stdin:    " + Debug.pretty_str(stdin)
    s.join("\n")
  end
def to_s # :nocov:
    s = []
    s << "CommandSpec:#{self.object_id}"
    s << "  digest:   #{self.digest}"
    s << "  repo:     #{self.repo}"
    s << "  bundle:   #{self.bundle}"
    s << "  command:  #{self.command}"
    s << "  args:     #{self.args}"
    s << "  user:     #{self.user}"
    s << "  group:    #{self.group}"
    s << "  env:      " + (self.env.nil?() ? "" : MultiJson.dump(self.env))
    s << "  stdin:    " + Debug.pretty_str(stdin)
    s.join("\n")
  end
Convert object to String, useful for debugging

 @return [String]