I can successfully spawn the Cygwin's bash process from my Qt application. However, I want cygwin's bash to start another process (dejagnu) within itself. How can I achieve this?
Posts 2 | Views 3513
QProcess - spawning another process within a process
That's more a subject to bash, not to Qt.
You can call bash with -c <command> parameter like this:
QString command = "bash";
args << "-c" << "dejagnu";
http://www.catb.org/~esr/faqs/smart-questions.htmlposted Reputation: 38 | Posts: 5422