Found a better solution.
If I use killfam instead of kill then all the children are signalled and in this case killed as well.
See http://search.cpan.org/~lusol/tkjuke-1.0.6/Proc/Killfam.pm
In reply to Re^3: Tk and IPC - killing of process not working in Linux
by Dirk80
in thread Tk and IPC - killing of process not working in Linux
by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |