[GRASS-user] catching bash shell signals via trap under g.parser
Glynn Clements
glynn at gclements.plus.com
Wed Jan 10 09:33:58 EST 2007
Luigi Ponti wrote:
> I am (still) using grass6.1.cvs on cygwin.
>
> While trying to code a cleanup routine to be performed in case of user
> break in a bash/grass script, I found that Ctrl+C seems to be catched
> only when I start the script via CLI and not when I use the grass
> parser. Is this a cygwin-related behavior?
Quite possibly; g.parser itself doesn't modify the signal handling in
any way.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list