Hello,
I've modified my function, but it doesn't work. I've no result...
Qt Code:
QStringList arguments; arguments << "-c" << "dpkg" << "-l" << "|" << "grep" << "xorg"; process->start("/bin/sh", arguments); process->waitForFinished(); qDebug() << tmp;To copy to clipboard, switch view to plain text mode
I've executed the command in the shell manually and this works fine:
So, were is the problem in my code./bin/sh -c "dpkg -l | grep xorg"
so long and thanks for help
jd




Reply With Quote


Bookmarks