How can I run command-line programs under Linux from Qt4? And of course I want to obtain the output in some way I can use. I\'d use it for an ls | grep, but it\
ls | grep
Use QProcess.