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's good to know for any future issues.
相关问题
- Sorting 3 numbers without branching [closed]
- How to get the return code of a shell script in lu
- How to compile C++ code in GDB?
- Why does const allow implicit conversion of refere
- thread_local variables initialization
What about using popen?
Use QProcess.