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

.PL and Ctrl-C

Discussion in 'Support' started by vefatica, Aug 6, 2008.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    If I try to interrupt the Perl script

    sleep 10;

    (being interpreted by TCC) with a Ctrl-C, TCC disappears (occasionally "encounters a problem"). IIRC this has been discussed before but I don't remember what came of it.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    vefatica wrote:

    Nothing became of it -- it's a problem with Perl, not TCC. (Perl
    replaces the default TCC break handler with its own, which summarily
    terminates the app instead of correctly passing it on to any other break
    handlers that may be installed.)

    The only workaround is to compile a custom version of Perl with the
    offending code fixed.

    Rex Conn
    JP Software
     
  3. p.f.moore

    Joined:
    May 30, 2008
    Messages:
    122
    Likes Received:
    1
    On 07/08/2008, vefatica <> wrote:

    I raised a similar sounding issue with plugins, which appears to be a
    bug in TCC. I don't recall Rex ever responding, though.

    Paul
     
  4. nikbackm

    Joined:
    May 30, 2008
    Messages:
    194
    Likes Received:
    1
    I managed to kill TCMD recently with only Ctrl-C (not Break) a while ago as well. It was then running an alias and/or batch file using only TCC internal commands.

    After I restarted TCMD I could activate the TCC window and attach it so it seems only TCMD and not TCC was killed.
     

Share This Page