[PATCH] Cygwin: pty: Fix the issue regarding open and close multiple PTYs.
Tue Jan 14 04:10:00 GMT 2020
On Mon, 13 Jan 2020 16:49:52 +0100
Corinna Vinschen wrote:
> But then again, given that Cygwin uses EXTENDED_STARTUPINFO_PRESENT
> anyway, wouldn't it makes sense to pass the required handles with
> PROC_THREAD_ATTRIBUTE_HANDLE_LIST to avoid having to open the
> parent with PROCESS_DUP_HANDLE?
Thanks for the advice. I didn't know PROC_THREAD_ATTRIBUTE_HANDLE_LIST.
It is very good idea to use PROC_THREAD_ATTRIBUTE_HANDLE_LIST.
I will submit a revised patch.
Takashi Yano <email@example.com>
More information about the Cygwin-patches