Post #3207987
2026-04-26 15:28 UTC
@tejr@mastodon.sdf.org Yeah, losing the error state is what I called cursed. What other languages have an equivalent "wait for all children" function? In C, C++, and Rust the programmer would have to write this footgun by themselves.
Also, returning an array of exit codes would be cool, but there are no arrays in POSIX shell =\ Which is my other rule of thumb: the moment you need something more complex than a string or integer variable, switch to something that supports actual data structures, and no, BASH is not it :)
Replies (0)
No replies.