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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: Shell
    • Labels:
      None
    • Backwards Compatibility:
      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

              Assignee:
              asya Asya Kamsky
              Reporter:
              asya Asya Kamsky
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: