-
Use proper pseudo-tty's instead of pipes when using subprocess · 7192eb30
This change avoids the "tcgetattr: Invalid argument" error by making sure the ssh we start does have a proper pseudo-tty. We could also check whether our current terminal is a proper terminal (by doing a tcgetattr ourselves) but I don't think this adds anything. This closes #1662 (if all use-cases have been tested: sudo, passwd)
Dag Wieers committed