Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 304412c0dc07a3cdef47b628d71d7eec2766a588
Ticket: 218826ffffffffffffffffffffffffffffffffff
background process prevents tclsh from exitting
User & Date: nobody on 2000-10-26 01:06:05
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2268 Bug
    Version: 8.1.1
    SubmitDate: '1999-06-21'
    LastModified: '1999-10-21'
    Severity: SER
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: SunOS
    Machine: Sparc
    FixedDate: '1999-10-21'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    Name:
    Ken Sedgwick
    
    ReproducibleScript:
    I am using tclsh to control a daemon process.
        The script uses "exec $cmd &" to start the background process.
        With 8.1.1, the script does not complete as it did in 8.0 and prior.
        
        The following script illustrates the problem:
        exec sleep 120 &
        exit 0
        
        Prior to 8.1.1, this script returns right away.
        With 8.1.1 this script waits until the exec'd process terminates
        to return.
        
        I either need to find a workaround, or retool my run-control scripts
        to not use tcl.
    
    
    
    This works as expected on 8.2 for Solaris. 
    -- 10/21/1999 hobbs
    
  4. foundin changed to: "final: 8.1.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "background process prevents tclsh from exitting"
  11. type changed to: "Bug"