Re: Trapping signal from shell script... doesn't seem to work?

2007-02-07 Thread Dan Nelson
In the last episode (Feb 07), Aitor San Juan said: I have written a Bourne shell script. This shell script invokes a program written in the C language. Below is basically the shell script source code. As you can see, the C program is not invoked in the background, but in the foreground, so

RE: Trapping signal from shell script... doesn't seem to work?

2007-02-07 Thread Aitor San Juan
Dan, thanks a lot. I'll have a look at it. Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Dan Nelson Enviado el: miƩrcoles, 07 de febrero de 2007 17:47 Para: Aitor San Juan CC: freebsd-questions@freebsd.org Asunto: Re: Trapping signal from shell

Re: Trapping signal from shell script... doesn't seem to work?

2007-02-07 Thread Derek Ragona
I believe what you are seeing is the login shell you are running holding back the signal as it first traps the signals. You should try running the script non-interactively from cron or nohup. -Derek At 09:18 AM 2/7/2007, Aitor San Juan wrote: Hi list! I have written a Bourne shell