Re: PID of subshell forked with ()

From: Dan Jacobson (jidanni_at_jidanni.org)
Date: 12/04/04


Date: Sun, 05 Dec 2004 06:46:29 +0800

Hurmf, time for a new Bash variable?!
(#I want to find the PID of here, but the best I can do is hacks like
echo $(bash -c 'echo $PPID'))&
#or but from outside:
echo $!