DEV Community

Discussion on: Using Go as a scripting language in Linux

Collapse
 
suntong profile image
suntong • Edited

Restrictions

  • Works until system rebooted
  • Only works for single go file.

Still, it's fun to get things going this way (demo here). Thanks!

Collapse
 
ignatk profile image
Ignat Korchagin

Works until system rebooted

Many distros as well as systemd (freedesktop.org/software/systemd/m...) provides ways to configure binfmt on every boot with stateful config files.