PDA

View Full Version : system in Qt



jaca
22nd January 2008, 15:55
Hi,

I use the system("shell.sh"); to execute some shell or programs, but it would like to make this in Qt.
Somebody can help me, please?
Thank you.

Gopala Krishna
22nd January 2008, 15:57
Have you checked QProcess ?

wysota
22nd January 2008, 16:56
Just remember that if you want to run a shell script, you have to invoke the shell (that in turn executes the script) and not directly the script through QProcess.