Run a subprocess in a pseudo terminal
conda install anaconda-python-gte-3.10::ptyprocess
Ptyprocess allows you to launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty.