Unsolved [Solved] Buffer size of QProcess
-
Hi Folks,
I have a console application on Windows 7 and I start a child process by QProcess. As I consider, the standard output of the child process is buffered so I can read some output before I connect to the readyRead signal of the process (Please accept that connecting to the signal after starting the process is the right way in this program due to the requirements).
The question is: how can I determine the size of this buffer used for standard output of my QProcess?Regards,
Norbert -
HI
You could have a look at the source
"C:\Qt\Qt5.5.0\5.5\Src\qtbase\src\corelib\io\qprocess.cpp"
Seems to use QByteArray and is a child of QIODevice.
My guess would be "dynamic" and depending on platform.