>> + kill(pid, 9); I'm paranoid about code like that, and want to see everything reasonably possible done to ensure it can only kill the process it should and any possible races are clearly documented and defended against. Alasdair