> Bash does not represent current pid and parent process-id correctly > in spawned processes.
It does; the situations you include in your message represent what Posix calls a "subshell environment", and $$ does not change in those cases. Both $$ and $PPID is set when a shell initializes. When a subshell is created as a copy of the parent, $$ and $PPID are part of the copied environment. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://tiswww.tis.case.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash