This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: CYGWIN file input redirection
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Steve Mucci <samsurfer117 at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 30 Sep 2016 12:22:13 +0300
- Subject: Re: CYGWIN file input redirection
- Authentication-results: sourceware.org; auth=none
- References: <CABcp_VQmLT=8WdXFQiJ8RohLh3obNnY6MLdEH8OQ0q6bm1PQ0A@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Steve Mucci <samsurfer117@gmail.com>
> Date: Mon, 26 Sep 2016 08:43:36 -0400
>
> Here are the MSDN pages for CreateProcess and STARTUPINFO;
>
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms686331(v=vs.85).aspx
>
> How can we fix this bug?
Someone needs to write and submit the code to (a) parse the command
line, like "run < foo >> bar 2> baz" and glean the redirections from
it; and (b) actually implement the redirection in the CreateProcess
call.