Using pseudo-terminals (pty) to control interactive programs | Dark Hacker News