Re: [E-devel] efl test suite timeouts under `ninja test`
Ross Vandegrift <[email protected]> Tue, 9 Jan 2024 22:44:34 -0800
| Newsgroups | gmane.comp.window-managers.enlightenment.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jan 09, 2024 at 08:35:00AM -0800, Ross Vandegrift wrote: > Here's the difference: > - `bash -c /bin/true` directly execs /bin/true without a fork > - `dash -c /bin/true` always fork & execs [snip] > (Side note: bash's lack of fork is surprising, but I'm surely ignorant of > some details.) Found a note in bash's CHANGES [1] file about this: | b. Bash attempts to optimize the number of times it forks when executing | commands in subshells and from `bash -c'. This was a new feature in 5.1-alpha. Ross [1] https://git.savannah.gnu.org/cgit/bash.git/tree/CHANGES#n1025