Fixed problem with child processes getting on MacOSX: provided common implementation that does not utilize "--ppid xxxx" option.
The solution seems to be much less efficient, but will likely work on a wider range of Unix-family systems.