Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e13d25854f0e549328e423505d58373a0bbcb293
Ticket: 218311ffffffffffffffffffffffffffffffffff
Cannot exit if sub-process has been backgrounded
User & Date: nobody on 2000-10-26 00:56:00
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3704 Bug
    Version: 8.2.2
    SubmitDate: '1999-11-29'
    LastModified: '1999-12-02'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: angie
    OS: Solaris
    OSVersion: Solaris 2.6
    Machine: Ultra 5
    FixedDate: '2000-10-25'
    ClosedDate: '1999-12-02'
    
    
    Hello,
    
    I submitted a bug report earlier, but I wanted to add a comment.
    This is regarding the problem with 8.2.2 whereby it is impossible to exit
    the shell until all backgrounded processes have exited.
    
    E.g.
    exec xcalc &
    exit
    
    ---> hangs until I exit the calculator.
    
    In an attempt to figure out the problem, I recompiled tcl 8.2.2 with
    debugging symbols, and the problem went away.
    Since I don't have time to figure out what is going on here, I'll chalk up
    the problem to some quirk in the gcc compiler.
    
    Thank you
    Jean-Marie White
    Cisco Systems
    
    Name: Jean-Marie White
    
    ReproducibleScript:
    Invoke tcl shell like this: tclsh8.2
    
    at the prompt type:
    exec xcalc &
    exit
    
    The shell hangs and doesn't exit until I exit the calculator. (or any other application that I spawn in the background).
    
    8.0 behaves differently and the shell exits without need to exit the child process first.
    
    DesiredBehavior:
    The shell should exit without need to exit the child process first.
    
    
    
    This exits as expected using tclsh8.2 on Sol2.5.1 and Sol7
    when running from tcsh, leaving xcalc running. 
    -- 11/29/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.2"
  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: "Cannot exit if sub-process has been backgrounded"
  11. type changed to: "Bug"