when I try to call system("pidof <process-name>") in my GUI (which is made from QT3)
the corresponding pid is getting displayed in terminal only.I am unable to get it in GUI. Can anyone help me?
when I try to call system("pidof <process-name>") in my GUI (which is made from QT3)
the corresponding pid is getting displayed in terminal only.I am unable to get it in GUI. Can anyone help me?
Use QProcess to run this command, you can get it's output by connecting to one of readyRead* signals and calling one of read* methods.
Last edited by stampede; 8th March 2011 at 10:44. Reason: corrected link
Bookmarks