ltrace fails on scripts: x is not an ELF file
currently, ltrace fails on scripts, and i have to explicitly call the script interpreter
this is unexpected, because strace works with scripts
in some cases, the executable in $PATH is a wrapper script for the binary executable
see also https://stackoverflow.com/questions/49708106/usr-bin-google-chrome-is-not-an-elf-file
$ strace -ff -e open chromium https://httpbin.dev/get
$ ltrace -f -e open chromium https://httpbin.dev/get
"/run/current-system/sw/bin/chromium" is not an ELF file
$ ltrace -f -e open bash -e $(which chromium) https://httpbin.dev/get
$ head -c2 $(which chromium)
#!
$ head -n1 $(which chromium)
#! /nix/store/9vafkkic27k7m4934fpawl6yip3a6k4h-bash-5.2-p21/bin/bash -e
$ file -L $(which chromium)
/run/current-system/sw/bin/chromium: a /nix/store/9vafkkic27k7m4934fpawl6yip3a6k4h-bash-5.2-p21/bin/bash -e script, ASCII text executable, with very long lines (706)