New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support piping into a terminal instance of Emacs #2

merged 1 commit into from Apr 25, 2017


2 participants

iqbalansari commented Apr 25, 2017

This pull request redirects /dev/tty to Emacs' stdin, so the "input is not tty" error does not happen when using a terminal instance of Emacs. For some reason the redirection does not work if Emacs is invoked directly (as opposed to execing it like this pull request does).

I am always redirecting the tty to Emacs even if the GUI mode is used. From my limited testing, this seems to work without any issues.



This comment has been minimized.


kaushalmodi commented Apr 25, 2017

Thanks! This looks great!

@kaushalmodi kaushalmodi merged commit abfe22c into kaushalmodi:master Apr 25, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

kaushalmodi added a commit that referenced this pull request Apr 25, 2017

Thanks to Iqbal Ansari for adding support for reading piped data in `emacs -Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment