How to run a script shell using QProcess? The Script shell has eight different commands in it, some with the arguments of others without.
I tried to run the Script shell using (using Ubuntu 11.10):
QProcess *Prozess = new QProcess(); Prozess->setWorkingDirectory(MainDirectory); Prozess->start("/bin/sh", QStringList() << "Shell.sh");
But it does not work, it means that nothing is happening. How to make it work?
source share