replace getppid with the old process ancestor which is a shell; makes it easier to run embedded cl scripts that work on the current session