Subject: [ruby-talk:9125] Re: pid of executed program
From: ts <decoux moulon.inra.fr>
Date: Thu, 11 Jan 2001 18:10:14 +0900
References: 906390769080
In-reply-to: "ptkwt@user2.teleport.com"'s message of Thu, 11 Jan 2001 10:50:43 +0900
>>>>> "P" == Phil Tomson <ptkwt / user2.teleport.com> writes:
P> Anyway, You say that I should do a:
P> kill "SIGTERM", 0
P> but won't that also kill the currently running script?
No, if you begin your script with
trap("TERM") {}
Guy Decoux