On Wed, 3 May 2006, Moshe Kaminsky wrote:
You can use 'kill 0' to send a signal to your own process group. Something like this:#!/bin/sh trap 'kill 0;exit' TERM echo "before" ( sleep 30; echo inside ) echo "after"
No use. trap will wait till the running child is completed, which is not what I want (as reply of Hans-Werner). Thanks. -- Jorge Almeida -- [email protected] mailing list

