[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Abort a system call

Masschelein Bart

7/5/2005 11:04:00 AM

>
> The trap gets executed, meaning that I get the output of the
> print, during the execution of my program, and the pid
> matches the one from the process status list.

To clarify: the procedure between the trap brackets gets executed when I press Ctrl-C, and the pid in the printed text matches the one of the executable called from within the ruby script... was a bit ambiguous when I just reread it.