Skip to content
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

Automatically accept things (with a warning) if no TTY is available #10

Open
pimterry opened this issue Jul 29, 2016 · 1 comment
Open

Comments

@pimterry
Copy link
Owner

pimterry commented Jul 29, 2016

No description provided.

@pimterry
Copy link
Owner Author

Start introspecting parents TTYs to find how Git was invoked maybe? On linux /proc/PID/fd/0 gets you close, but not cross platform. Low-level C interactions might be possible to do this: http://stackoverflow.com/a/36522620/68051

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

No branches or pull requests

1 participant