Dear Santosh,

Thank you for your help.
The following code compiled and executed:

Qt Code:
  1. QObject *parent;
  2. QString program = "./ent";
  3. QStringList arguments;
  4. arguments << "-b" << "-t" << "input.txt";
  5.  
  6. QProcess *myProcess = new QProcess(parent);
  7. myProcess->start(program, arguments);
To copy to clipboard, switch view to plain text mode 

1. However I now need to catch the results into a QString. What is the best way to do that?

2. Also, can I be certain that the rest of the program waits before this process is executed and
what happens if some error happens. How to catch an error?

Thanks!