in reply to more forking troubles
Think I solved it myself:
In the childe part ik put exit(0) after the exec sleep. This seems to solve the problem...
UPDATE:
Zaxo and me seem to have found the same solution on the same moment :)
--
My opinions may have changed,
but not the fact that I am right