View Full Version : Handle child of QProcess's child.
gcubar
24th December 2010, 13:27
How I can handle a windows child process that is started from QProcess instance?
Thanks.
BalaQT
25th December 2010, 11:39
check
http://doc.qt.nokia.com/4.7/qprocess.html
Bala
gcubar
27th December 2010, 13:00
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.
jesse_mark
29th November 2012, 20:13
Did you find a way to handle the child Qprocess ??
Thanks
amleto
30th November 2012, 02:59
do you think he is still watching a thread from two years ago?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.