Added a --no-pty option.