[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Why is sleep not a builtin
From: |
Jesse Hathaway |
Subject: |
Re: [Help-bash] Why is sleep not a builtin |
Date: |
Fri, 22 Jun 2018 10:42:10 -0500 |
> You can. You just have to run the notification as a second child process
> that you terminate when you're done waiting for the first child process.
>
> I'm assuming the notification process is a spinner, or a stream of dots,
> or something of that nature. It's commonly done.
Thanks Greg, I'll give that a try, though I am still curious as to why it is
not a builtin, as people seem to jump through crazy hoops to avoid using
it, e.g.
https://unix.stackexchange.com/questions/68236/avoiding-busy-waiting-in-bash-without-the-sleep-command