Skip to content

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

Open
mingers wants to merge 2 commits into
delano:masterfrom
mingers:master
Open

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

Conversation

@mingers

@mingers mingers commented Jul 11, 2014

Copy link
Copy Markdown

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

delano commented Jul 11, 2014

Copy link
Copy Markdown
Owner

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

@mingers

mingers commented Jul 11, 2014

Copy link
Copy Markdown
Author

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

@delano

delano commented Jul 11, 2014

Copy link
Copy Markdown
Owner

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