News for hackers. Stuff that matters.
Re:Taming non-terminating Bash processes by pstadler on Saturday November 08, 2014 @06:06PM (#8578437)
I need to know the PID of the subshell, inside the subshell. $BASHPID was introduced to hold this value. While $$ still contains the PID of the parent process and $! is not available inside the subshell after all.

There are no comments on this comment yet.