in reply to Fork Sharing Globals

If you are forking a child process you'll need look at Unix domain sockets.

Read

Kiel R Stirling