[DOCS-11984] Docs for SERVER-36196: expose function in shell to determine if it's running in interactive mode Created: 22/Aug/18  Updated: 13/Nov/23  Resolved: 08/Aug/19

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 4.1.2, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-36196 expose function in shell to determine... Closed
Participants:
Days since reply: 4 years, 27 weeks ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

----------------------------

Original Description

Description:

Mongo shell added a method isInteractive() which returns true if shell is running in interactive mode and false if it's running in script mode.

Engineering Ticket 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.

 

----------------------------

Description

Scope of changes (files that need work and how much)

Impact to other docs outside of this product

MVP (work and date?)

Resources (e.g. Scope Docs, Invision)



 Comments   
Comment by Githook User [ 08/Aug/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11984: 4.2 isInteractive.txt()
Branch: master
https://github.com/mongodb/docs/commit/e48b56339536e848de43ebe3a33deef4c40f5f88

Generated at Thu Feb 08 08:04:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.