Re: commands following asynchronous list are executed twice

2020-04-02 Thread Chet Ramey
On 4/2/20 8:09 AM, Oğuz wrote: > While reading commands from stdin, if job controls are enabled, > commands following an asynchronous list in `{ cmd; } &` fashion are > executed twice. Thanks for the report. This will be fixed in the next devel branch push. -- ``The lyf so short, the craft so l

commands following asynchronous list are executed twice

2020-04-02 Thread Oğuz
While reading commands from stdin, if job controls are enabled, commands following an asynchronous list in `{ cmd; } &` fashion are executed twice. See below extract: $ bash -m <<\EOD { sleep 1; } & wait echo $BASHPID EOD 10615 10615 When job controls are disabled, or an external utility is calle