arr-ai / arrai

The ultimate data engine.
http://arr.ai
Apache License 2.0
20 stars 15 forks source link

Add //os.isatty(fd) to allow scripts to handle //os.stdin more intelligently #570

Closed orlade-anz closed 4 years ago

orlade-anz commented 4 years ago

//os.stdin hangs if stdin is a terminal, which is not always desirable. This allows scripts to behave differently depending on how the script is being run.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build bf74c43a9f825c4c42ebf72c6344f307163807f2-PR-570


Files with Coverage Reduction New Missed Lines %
rel/value_set_dict.go 3 43.36%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 27615fe74bea062d7486caa8ebf3c56cb8d7dae3: 0.09%
Covered Lines: 4786
Relevant Lines: 9879

💛 - Coveralls