2 ms·
If I ran it with just $ chmod +x snake.com $ ./snake.com ... then it would try to use Mono to launch it: Cannot open assembly './snake.com': File
by GlumWoodpecker 9mo ago
If I ran it with just
$ chmod +x snake.com
$ ./snake.com
... then it would try to use Mono to launch it:
Cannot open assembly './snake.com': File does not contain a valid CIL image.
But, running it explicitly with Bash works:
$ bash snake.com
Pretty nifty but doesn't work out of the box on any Linux, at least :p Running Debian 13.
- seba_dos1 9mo ago> ... then it would try to use Mono to launch it: That's because of the binfmt handler that Mono installs which matches the PE header.
- MrDrMcCoy 9mo agoCosmopolitan libc binaries require a little extra config to work around the defaults most distros set for binfmt: https://justine.lol/apeloader/ https://justine.lol/apeloader/