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.
- is related to
-
SERVER-32849 Prompt before write commands with shell
- Open