Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15616 > unrolled thread

Re: bash loses control of jobs inside a command substitution

Started byOğuz <oguzismailuysal@gmail.com>
First post2019-11-20 13:01 +0300
Last post2019-11-20 13:01 +0300
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.


Contents

  Re: bash loses control of jobs inside a command substitution Oğuz <oguzismailuysal@gmail.com> - 2019-11-20 13:01 +0300

#15616 — Re: bash loses control of jobs inside a command substitution

FromOğuz <oguzismailuysal@gmail.com>
Date2019-11-20 13:01 +0300
SubjectRe: bash loses control of jobs inside a command substitution
Message-ID<mailman.2064.1574244120.13325.bug-bash@gnu.org>
This seems more like a race condition, see:

    $ f() { ( sleep 0.1; exit 13 ) & "$@"; wait -n; echo $?; }
    $
    $ f sleep 0.0
    [1] 30612
    [1]+  Exit 13                 ( sleep 0.1; exit 13 )
    13
    $ f sleep 0.2
    [1] 30617
    [1]+  Exit 13                 ( sleep 0.1; exit 13 )
    127

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web