Here's something that I'd like some advice on, where the Fediverse will be far more useful than search engines these days.
I'm trying to test (intentional) process aborts on NetBSD, which include some text printed like:
```
Abort trap (core dumped) ( "$PROGRAM" "$@" ) > "$TMP_STDOUT" 2> "$TMP_STDERR"
```
The underlying process is calling the abort() system call. Now, you might expect that this notice is printed to STDERR, but it seems to somehow be circumventing my STDERR capture. Anybody know how this works, and how I can capture it properly as text output?
EDIT: Nevermind, I found the `quick_exit` libc function. That better fits what I'm trying to do, and doesn't involve signal nastiness. I'm still a little intellectually curious though.