This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 9/12/10 2:29 PM, Andy Koppe wrote: > This does appear to work! Proof-of-concept code attached, along with a > couple of tests. Running in mintty: Awesome. Thanks for doing this work. I believe the Cygwin developers had concerns about this change inadvertently breaking some applications. Have you noticed any unusual behavior? > Unfortunately it only seems to work for fdev's direct child process > though. For example, when running cmd.exe through fdev and invoking > isatty.exe from there, it's all zeroes from isatty() again. Unfortunately, cmd.exe does not appear to use the C runtime IO library, and it doesn't pass on inherited file descriptors --- except for the standard handles via CreateProcess. It's a shame, too, because cmd understands the syntax for manipulating the first ten file descriptors in much the same way that a unix shell does. I think it would work for other families of process though, and it's still an improvement.
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |