[Interest] QProcess unbuffered

Scott Bloom scott at towel42.com
Wed Mar 8 01:50:01 CET 2023



-----Original Message-----
From: Interest <interest-bounces at qt-project.org> On Behalf Of Thiago Macieira
Sent: Tuesday, March 7, 2023 2:40 PM
To: interest at qt-project.org
Subject: Re: [Interest] QProcess unbuffered

On Tuesday, 7 March 2023 14:23:00 PST Björn Schäpers wrote:
>  From the code I reviewed back then (and remember it now) it unpacks 
> the handles directly to a HANDLE, which is pointer size (although it 
> only uses the lower 32 bit). But Scott will tell us what the field 
> width has to be for a 64 bit process.

Yup.

BTW, Scott, when using QProcess::setCreateProcessArgumentsModifier(), you get access to QProcess' standard handles so you can place them in your fd table. 
Björn's code probably predates that function (Qt 5.7).

----
Just getting to play with it now...

Thanks for looking at this.



More information about the Interest mailing list