[Qt-interest] execute a shell script from qt

mierdatutis mi mmm286 at gmail.com
Fri Jun 19 01:54:08 CEST 2009


Hi,

I would like to execute a shell script with a parameter from a qt program:

I do:

 QProcess pepe;

pepe.start("/usr/bin/bash", QStringList() <<
"/home/david/seguridad/verdadero/sin.sh" << "parm1");


I try this but if I do a ps in the machine I see that the script is not
running.


Any help?


Many thanks and sorry for my english!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090619/b46dc6e9/attachment.html 


More information about the Qt-interest-old mailing list