Hi,
I need help for using QProcess.
I have to run a cmd like this:

Qt Code:
  1. cmd -param1 -param2 value2 -param3 value3:title="My Title with spaces"
To copy to clipboard, switch view to plain text mode 

For param1 & param2 no problems; param3 dont'work.

My code is:

Qt Code:
  1. [...]
  2. #include <qprocess.h>
  3.  
  4. int main (int argc, char **argv)
  5. {
  6.  
  7. [...]
  8.  
  9. QApplication a (argc, argv);
  10. QProcess *proc;
  11.  
  12. [...]
  13.  
  14. proc = new QProcess ();
  15. proc->addArgument ("cmd");
  16. proc->addArgument ("-param1");
  17. proc->addArgument ("-param2");
  18. proc->addArgument ("value2");
  19. proc->addArgument ("-param3");
  20. QString myCmd = "value3:title=\"My Title with spaces\"";
  21. proc->addArgument (myCmd);
  22.  
  23. if (!proc->start())
  24. {
  25. // error handling
  26. exit (-1);
  27. }
  28.  
  29. return 0;
  30.  
  31. }
To copy to clipboard, switch view to plain text mode 

When I launch this program I have no error but the third parameter is not correct. This arrives quoted. I think I have to avoid quoting...
I'm using Linux with bash shell.

Thanks for any help,
the_bis