Skip to content

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

Open
mingers wants to merge 2 commits intodelano:masterfrom
mingers:master
Open

Updated stty session state save to check for an interactive terminal#56
mingers wants to merge 2 commits intodelano:masterfrom
mingers:master

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.

2 participants