# File src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb, line 120
    def attach(pid)
      pid = pid.to_s.strip
      raise ArgumentError if pid.empty?
      result = execute("attach #{pid}")
      result !~ /(No such process|Unable to access task|Operation not permitted)/
    end