Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af488bdaeb05796cd834468d73e5b30039653860
Ticket: 437489ffffffffffffffffffffffffffffffffff
Tk console breaks [exec]
User & Date: dgp on 2001-06-29 22:51:06
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
    
  4. foundin changed to: "obsolete: 8.3.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "27. Channel Types"
  10. title changed to: "Tk console breaks [exec]"
  11. type changed to: "Bug"