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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Fully Compatible

      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.

       

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

              Created:
              Updated:
              Resolved: