Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f7b980c531f9de218d9d9e536cc8a9839abdd3a6aab9e96770613cb894afaa78
Ticket: 8413e79232449d82d512edfee22ded5701f683b5
tcltest should not exit an application
User & Date: tombert on 2020-01-29 16:47:09
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Well, the comment says it all.
    From tcltest-2.5.1.tm:
    
    # exit only if running Tk in non-interactive mode
    #This should be changed to determine if an event
    # loop is running, which is the real issue.
    # Actually, this doesn't belong here at all.  A package
    # really has no business [exit]-ing an application.
    if {![catch {package present Tk}] && ![testConstraint interactive]} {
        exit
    }
    
    Took me an hour because I thought TCL is crashing. Here I see it's exiting.
    Please fix/remove the exit from this code.
    
    Regards
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "tombert"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "55805032f00760ddf84eb3f8acb077da7bef1411"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "tombert"
  14. subsystem changed to: "34. tcltest Package"
  15. title changed to: "tcltest should not exit an application"
  16. type changed to: "Bug"