I am trying to execute a shell script using qprocess that calls another shell scripts. The problem is that the program skips any other calling to other scripts and executes the next command
The script:
Qt Code:
  1. #tri1 decoding
  2. utils/mkgraph.sh data/lang_test exp/tri1 exp/tri1/graph
  3. echo "Hi there"
To copy to clipboard, switch view to plain text mode 

The code i wrote:
Qt Code:
  1. QStringList program ;
  2. program<< "-c"<<"bash /home/dell2/Desktop/ll.sh";
  3.  
  4.  
  5. QProcess exec;
  6. exec.start("/bin/sh",program);
  7. exec.waitForFinished();
To copy to clipboard, switch view to plain text mode