Are you annoyed by all the weird error handling characteristics of bash? You might wish to take a look at https://skarnet.org/software/execline/index.html or, if you desire compatibility, https://www.oilshell.org/
@timorl Also, why don't people write things like init scripts in Python in that case? Python dependency would be a nonissue in many cases.