Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

.PL and Ctrl-C

May
12,995
174
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.
 
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
 
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
 
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.
 

Similar threads

Back
Top