[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Found Bug and generated report using Bashbug
From: |
Chet Ramey |
Subject: |
Re: Found Bug and generated report using Bashbug |
Date: |
Tue, 6 Sep 2022 10:14:03 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 |
On 9/5/22 6:13 PM, Aryan Bansal wrote:
>Bash Version: 5.1
>Patch Level: 16
>Release Status: release
>
>Description:
> While testing how bash handles foreground and background processes
>using "&", I found out that the behaviour is sometimes undefined. The
>prompt sometimes prints just as the background process finishes executing
>resulting in a glitch that makes the prompt unable to be used until Enter
>is pressed.
This is not a bug. Since these are different processes, scheduled
independently, bash doesn't have control of when the background processes
print their output.
--
``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/