> start-stop-daemon already supports waiting for processes to exit when
> stopping them.  See the --retry option.
Isn't that open to race conditions, as new processes could be spawn with the 
same pid in the meanwhile?


> You can't call waitpid on processes that aren't your children.
True sorry, i didn't know that. There is still ptrace()

-- 
Salvo Tomaselli

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to