[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: value of $$ in backgrounded process
From: |
kovacs istvan |
Subject: |
Re: value of $$ in backgrounded process |
Date: |
Thu, 7 Oct 2021 11:32:51 +0200 (CEST) |
Thanks for the answers!
I somehow managed to miss this information about a backgrounded process being
run in a subshell:
"If a command is terminated by the control operator <ampersand> ( '&' ), the
shell shall execute the command asynchronously in a >>>subshell<<<."
In the "Asynchronous Lists" section of the page
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02