Overview
| Artifact ID: | ac8f1d49e63f5ad836c9be7d8481bfaf59b03652 |
|---|---|
| Ticket: | 1997007fffffffffffffffffffffffffffffffff
[open|] blocks when redirecting stderr to pipe (Vista) |
| User & Date: | ferrieux on 2008-06-30 18:51:23 |
Changes
- icomment:
Logged In: YES user_id=496139 Originator: NO Excellent ! Thanks for this decisive test Koen. Now we still have problem, Houston... But at least we'll be barking up the proper old tree ;-) A few ideas now: - is 2>@ different from >@ in that respect (use vanilla [exec &] and try separate >@ and 2>@ to a pipe, then both) ? - for the 99% cases that work, what kind of IO do you do on the pipes ? Do the children write much to stderr ? Do you write much to the children's stdin ? - when you say that the faked pipe removes the issue, I suspect a Heisenbug effect due to the kernel being distracted by the machinery necessary for the faked pipe. Can you create the faked pipe longer before spawning ? (possibly create all of them beforehand; otherwise use [after] to schedule final [exec&] several seconds after [open |cat r+]) - try to lower handle consumption: redo the failing test, but without the stdouts at all (> NUL:) - same, but converging all 2>@ stderr to the same, single TclX pipe. That's it for now ;-)
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"