[solved] QProcess interaction
is there a way to have the output of a process pushed to the interface in real time.
for example: if i run a ping 127.0.0.1 in a process, the interface should show immediately "pinging ..."
then the first ping, the second ping ...
the usual way is to wait till the process completes, then use readall to capture the output and print it to the interface.
but, this way the user has to wait till the process completes and only then will be able to see all the output.
instead if he/she can see it real time, it will be very efficient. is that possible?
If you look at the API of QProcess, it should be possible. Look at "QProcess::readyReadStandardOutput":http://doc.qt.nokia.com/4.7/qprocess.html#readyReadStandardOutput
thank you for the reply. am now reading the same :)