store the last_child info for posix-spawn child info