Ensure we allocate a pseudo-tty.