MCPcopy Index your code
hub / github.com/aws/aws-cli / is_stdin_a_tty

Function is_stdin_a_tty

awscli/utils.py:407–411  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405
406
407def is_stdin_a_tty():
408 try:
409 return os.isatty(sys.stdin.fileno())
410 except Exception:
411 return False
412
413
414class OutputStreamFactory:

Callers 1

multiselect_choiceFunction · 0.90

Calls 1

filenoMethod · 0.80

Tested by

no test coverage detected