Simple pcntl fork wrapper and process manager