Hi Alan, thank you for your advice. I'm just using shell scripts (and am not very familiar with Java, C, etc.). If there's no simpler possibility (e.g. something like a sleep command with an appropriate option would be fine) I probably could manage to compile a little C-program. Frank alan@ibgames.com schrieb am 23.08.03 07:31:19:
On 23 Aug 2003 at 4:56, ewkdfb@web.de wrote:
Date sent: Sat, 23 Aug 2003 04:56:30 +0200 Organization: http://freemail.web.de/ From:
To: suse-programming-e@suse.com Subject: [suse-programming-e] force "kill -9" Hello everybody out there,
for testing purposes I need a program which needs "kill -9" (and NOT just "kill") to kill its process.
Can anyone help?
Thanks in advance.
Frank
Frank,
The you need to include a signal handler to catch and ignore the TERM signal (and any other signals you don't want to have their default effect) in your program.
I can't be more specific since you don't say what language you are using.
Try looking at man 2 signal to get started...
alan -- http://www.ibgames.net/alan Registered Linux user #6822 http://counter.li.org Winding Down - Weekly Tech Newsletter - subscribe at http://www.ibgames.net/alan/winding/mailing.html
-- To unsubscribe, email: suse-programming-e-unsubscribe@suse.com For additional commands, email: suse-programming-e-help@suse.com Archives can be found at: http://lists.suse.com/archive/suse-programming-e
__________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.web.de