[Bug 16132] New: Support for $BASHPID to allow to get the PID of the subshell as well as detect that you are in a subshell

bugzilla at busybox.net bugzilla at busybox.net
Thu Jul 25 15:04:49 UTC 2024


https://bugs.busybox.net/show_bug.cgi?id=16132

            Bug ID: 16132
           Summary: Support for $BASHPID to allow to get the PID of the
                    subshell as well as detect that you are in a subshell
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: ale5000 at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Plase implement $BASHPID as it allow to get the PID of the subshell as well as
detect that you are in a subshell.
Thanks.

Example:
$ echo $$
9513
$ (echo $$)
9513
$ echo "$BASHPID"
9513
$ (echo "$BASHPID")
9518

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list