Overview
| Artifact ID: | 5152cf617d11f5a7db43d754942fc1be3ad12e80 |
|---|---|
| Ticket: | 2927851fffffffffffffffffffffffffffffffff
Tcl dies when STDIN is closed |
| User & Date: | dgp on 2010-01-08 22:08:09 |
Changes
- icomment:
It will take me a while to find the time to analyze this fully. (The standard channel support is a god-awful mess). For embedding programs with special needs like this, though, I would expect them to need to make their own calls to Tcl_SetStdChannel() to make Tcl customize as needed. Explicitly setting Tcl's stdin channel to a 'null' channel works, though it may require you code a null channel for complete portability.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"