Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16591 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2020-07-20 08:57 -0400 |
| Last post | 2020-07-20 08:57 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: 'foo > >(bar)' doesn't set $! for external foo not invoked via 'command' Chet Ramey <chet.ramey@case.edu> - 2020-07-20 08:57 -0400
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2020-07-20 08:57 -0400 |
| Subject | Re: 'foo > >(bar)' doesn't set $! for external foo not invoked via 'command' |
| Message-ID | <mailman.224.1595249883.24492.bug-bash@gnu.org> |
On 7/20/20 1:10 AM, Oğuz wrote: >> Bash Version: 5.0 >> Patch Level: 17 >> Release Status: release >> >> Description: >> $! isn't set to the PID of 'bar' for >> >> foo > >(bar) >> >> if 'foo' is an external program (as opposed to a builtin or >> function) - unless it's invoked via 'command'. Redirections are performed in the subshell created to execute `foo', so the process substitution is invoked there and can't affect the parent's $!. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to top | Article view | gnu.bash.bug
csiph-web