[Reprise] Allow for using Circle CI tooling without a TTY

Reference

I am unsure why the above issue was closed without comment. It is still a problem when trying to use the local build container for a git pre-push hook.

I hacked the script at sudo vim $(which circleci) to remove the “t” in docker -it for the time being, but that is not really sustainable.

It seems like adding a switch to the circleci for allowing it to run effectively headless would be the thing that addresses the need. Would a PR be welcome for this? Could you point me to the repo for the contrib if so?

Last: If this is bikeshedding, please state that plainly and I pledge to leave off :slight_smile:

Thank you for your time.
Boyd Hemphill

This is important. Pretending the system is running with an interactive terminal is just obviously going to cause problems.

I spent several hours trying to figure out why psql was hanging, to discover it was (sensibly) paging its output. I was able to turn that off, but who knows what the next issue will be?

There is a PR open for this now: https://github.com/circleci/local-cli/pull/14 which removes the -i completely. I’ll see what we can do in order to get this merged.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.