1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EXIT hangs

Discussion in 'Support' started by Stefano Piccardi, Oct 13, 2011.

  1. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    This script hangs the console window upon exiting. Tested with TCC and TCCLE.
    Code:
    goto EXEC
    :EXEC
    "%_cmdspec" /I
    exit %?
    Saved as c:\temp\jj.btm
    Code:
    C:\temp>*start "v:\bin\TCCLE\tcc.exe" /I
    
    TCC LE  13.00.24   Windows XP [Version 5.1.2600]
    Copyright 2011 JP Software Inc.  All Rights Reserved
    
    C:\temp>c:\temp\jj.btm
    goto EXEC
    "V:\bin\TCCLE\TCC.EXE" /I
    
    TCC LE  13.00.24   Windows XP [Version 5.1.2600]
    Copyright 2011 JP Software Inc.  All Rights Reserved
    
    C:\temp>exit
    The console window hangs...
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,949
    Likes Received:
    30
    On Thu, 13 Oct 2011 11:29:10 -0400, Stefano Piccardi <>
    wrote:

    |Code:
    |---------
    |goto EXEC
    |:EXEC
    |"%_cmdspec" /I
    |exit %?
    |---------

    Works OK with TCC here. Do you realize that the original TCC will wait for the
    second one to terminate before executing the batch file's "exit"?
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,856
    Likes Received:
    83
     
  4. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    Yes, I do. It's the second TCC that hangs upon exiting.
     
  5. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    I don't.

    BTW, what's a concise way to show you that there's no TCEXIT when I report issues?
     
  6. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    Rebooting my system fixed it.
     

Share This Page