Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36196

expose function in shell to determine if it's running in interactive mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.2
    • Shell
    • None
    • Fully Compatible

    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.

       

      Attachments

        Issue Links

          Activity

            People

              asya.kamsky@mongodb.com Asya Kamsky
              asya.kamsky@mongodb.com Asya Kamsky
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: