.PL and Ctrl-C

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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.
 

rconn

Administrator
Staff member
May 14, 2008
10,101
85
#2
vefatica wrote:

> 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.
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
 
May 30, 2008
122
1
#3
On 07/08/2008, vefatica <> wrote:

> 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.
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
 
May 30, 2008
206
1
#4
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.