[Scilab-Dev] Catch a CTRL+C
steer
Serge.Steer at scilab.org
Wed Nov 19 21:19:35 CET 2008
ycollet at freesurf.fr a écrit :
> Hello,
>
> Is it possible to catch a CTRL+C (entered in the scilab shell) in a C
> interface ?
> I have a C interface which takes a lot of time to execute and I want
> to interrupt this C interface while I am fine tuning some algorithms.
>
> YC
>
>
>
>
Le Ctrl-C est trappé par Scilab qui assigne true a la variable
C2F(basbrk).iflag
Il suffit donc de tester cette valeur et ne pas oublier de la remettre a
false une fois prise en compte
Serge
More information about the dev
mailing list