rye icon indicating copy to clipboard operation
rye copied to clipboard

Updated stty session state save to check for an interactive terminal

Open mingers opened this issue 11 years ago • 3 comments

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

mingers avatar Jul 11 '14 01:07 mingers

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

delano avatar Jul 11 '14 05:07 delano

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

mingers avatar Jul 11 '14 05:07 mingers

np, thanks!

delano avatar Jul 11 '14 05:07 delano