Details
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
- is documented by
-
DOCS-11984 Docs for SERVER-36196: expose function in shell to determine if it's running in interactive mode
-
- Closed
-
- is related to
-
SERVER-32849 Prompt before write commands with shell
-
- Open
-