Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11984

Docs for SERVER-36196: expose function in shell to determine if it's running in interactive mode

    XMLWordPrintableJSON

Details

    Description

      ----------------------------

      Original Description

      Description:

      Mongo shell added a method isInteractive() which returns true if shell is running in interactive mode and false if it's running in script mode.

      Engineering Ticket Description:

      It can be useful to know if shell is running in interactive mode or script mode in order to take different action (as the shell itself already does in many cases).

      This request is for function that can be invoked from the shell or script to determine which this is.

       

      ----------------------------

      Description

      Scope of changes (files that need work and how much)

      Impact to other docs outside of this product

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 27 weeks ago