Overview
| Artifact ID: | af488bdaeb05796cd834468d73e5b30039653860 |
|---|---|
| Ticket: | 437489ffffffffffffffffffffffffffffffffff
Tk console breaks [exec] |
| User & Date: | dgp on 2001-06-29 22:51:06 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The attached file, mywish.c, creates a customized "wish" program on Unix that makes use of the Tk console developed for Windows. The routines that make this possible, Tk_InitConsoleChannels() and Tk_CreateConsoleWindow() are public. Create a program from the attached file with gcc like so: gcc -o mywish mywish.cc -ltk8.3 -ltcl8.3 Then start ./mywish and up pops the console. So far so good. Enter in the console: % exec xeyes &;# or whatever is available forked process couldn't set up input/output: bad file number % set errorCode POSIX EBADF {bad file number} I tracked down the problem in unix/tclUnixPipe.c and will attach a one-liner patch that fixes it. - foundin changed to: "obsolete: 8.3.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "27. Channel Types"
- title changed to: "Tk console breaks [exec]"
- type changed to: "Bug"