On Thu, Apr 11, 2013 at 01:05:43PM +0000, Lenga, Yair wrote: > Is it possible to add back the functionality to allow the child process to > somehow retrieve it's OWN PID.
You are looking for the BASHPID variable, which expands to the process ID of the current bash process (even in a subshell).