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

Updated stty session state save to check for an interactive terminal #56

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mingers
Copy link

@mingers mingers commented Jul 11, 2014

This prevents stty throwing errors (like 'stty: standard input: Invalid argument') in the output when run in a non-interactive session (like via Jenkins).

…- this prevents stty throwing errors in the output when run in a non-interactive session.
@delano
Copy link
Owner

delano commented Jul 11, 2014

Thanks. One note: you need to leave the rescue in there b/c there are cases where calling stty fails.

@mingers
Copy link
Author

mingers commented Jul 11, 2014

Sorry, I thought that was how you were managing non-interactive. I'll add it back in

@delano
Copy link
Owner

delano commented Jul 11, 2014

np, thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants