Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-638

Ask for connection string when started via Windows .exe doubleclick

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.0.5
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Needed
    • Hide

      On Windows, mongosh.exe can now also be spawned by double-clicking on the executable, and will prompt for a connection string in that case.

      Show
      On Windows, mongosh.exe can now also be spawned by double-clicking on the executable, and will prompt for a connection string in that case.
    • Iteration Ibadan

      It might be nice in terms of UX to allow using mongosh on Windows by just double clicking on the executable. mongosh could e.g. ask a prompt like `Enter connection string (default: mongodb://localhost/):` before proceeding in that case.

      The native Windows GetConsoleProcessList function would allow detecting this situation by checking whether there is only a single process attached to the current console.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: