I am programming something that needs an interface to Bash. At first I thought I could just use popen or QProcess. ( I\'m using QT C++ ) They work fine but I can\'t get them to
Consider the option of running /bin/sh -s, which means "read commands from standard input". That removes the need to emulate a terminal.
/bin/sh -s