in reply to stty: standard input: Invalid argument

First thought is that sudo is looking for a password, which, by default, it gets from the terminal rather than stdin. Adding "-S" may help - but I would expect in this case that sudo would be failing for lack of password.

  • Comment on Re: stty: standard input: Invalid argument