3 ms·
Using Go as a scripting language in Linux
- westurner 9y agoI, too, didn't realize that shebang parsing is implemented in the `binfmt_script` kernel module. Does this persist across reboots? echo ':golang:E::go::/usr/local/bin/gorun:OC' | sudo tee /proc/sys/fs/binfmt_misc/register
- secumod 9y agoNo, but different init systems may autoload formats based on some configuration files. Systemd, for instance: https://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html https://www.freedesktop.org/software/systemd/man/systemd-bin...