You are invoking ps with two parameters: "aux" and "| grep SMRTemd". Just as if you wrote:If you want to make | work, start a shell:$ ps aux "| grep SMRTemd"Qt Code:
QStringList slArgs; slArgs << "-c" << "ps aux | grep SMRTemd";To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks