Jeroen Demeyer on Sun, 17 Apr 2005 21:33:44 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

GP handling of SIGINT (Linux)


Hello list,

while hacking with GP and shell scripts under Linux, I noted the following:

When using GP non-interactively (gp -f -q <commands.gp >output),
it only handles a SIGINT once. The first SIGINT is caught and interrupts the current command (as usual), but any further SIGINTs do nothing. I don't understand how come this behaviour is different from an interactive GP, where multiple SIGINTs can be cought.

Is this a feature or a bug?