Hii, i want a QT 4 code from which i can get the list of processes started by QProcess and if possible also the External System processes....Platform->Windows
Hii, i want a QT 4 code from which i can get the list of processes started by QProcess and if possible also the External System processes....Platform->Windows
What is the question?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
We don't give you code, we help you write your own code.
Plainspoken, I must admit.Hii, i want a QT 4 code
I just want to know how can i know whether a particular process is in a running state before i start it from my application..
below is a part of my code..
I want to make a check before executing my code,
whether this process(mysqld.exe) is already in a running state or not(started by some other application before or infact started by my own application on last execution).
QProcess *p1 = new QProcess;
p1->start("E:/mysql/bin/mysqld.exe");
For processes you started your self, you will have to do the bookkeeping.
For processes you didn't start, you will have to use native API.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks