How I can handle a windows child process that is started from QProcess instance?
Thanks.
How I can handle a windows child process that is started from QProcess instance?
Thanks.
check
http://doc.qt.nokia.com/4.7/qprocess.html
Bala
Thanks Bala, but I need more information I find here.
Obviously, I did not explained well. An example of my situation is as follows.
Suppose we have the following source code:
QObject *parent;
...
QString program = "./path/to/Qt/examples/widgets/analogclock";
QStringList arguments;
arguments << "-style" << "motif";
QProcess *myProcess = new QProcess(parent);
myProcess->start(program, arguments);
and when the process 'analogclock' is running, it executes another external process, eg 'digitalclock'. Then, with the variable 'myProcess', we can manipulate the process 'analogclock' but not 'digitalclock'.
How I can handle processes similar to 'digitalclock', who are children of the processes running with an instance of 'QProcess'?
Thanks.
Did you find a way to handle the child Qprocess ??
Thanks
do you think he is still watching a thread from two years ago?
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks