bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug with BASH V4: The "$!"


From: Greg Wooledge
Subject: Re: Possible bug with BASH V4: The "$!"
Date: Thu, 11 Apr 2013 09:13:53 -0400
User-agent: Mutt/1.4.2.3i

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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]