Comment by kidsil
5 years ago
Odd, I'm getting $ ./printimage.com image.jpg
run-detectors: unable to find an interpreter for ./printimage.com
5 years ago
Odd, I'm getting $ ./printimage.com image.jpg
run-detectors: unable to find an interpreter for ./printimage.com
Author here. That error happens if you have binfmt_misc enabled. The solution is simple:
I intend to upstream a patch with the Linux kernel so it can do this automatically. If any kernel devs are reading, please email me!
Instead of sudo sh -c to sudo the redirects, consider echo 'abcde' |sudo tee /proc/bla. Less nesting :)
Do you mean less syntactical nesting? The pipe to sudo tee creates a new child shell, just as sudo sh -c does.
1 reply →
Does it work on cheap Xen vps? Because "/proc/sys/fs/binfmt_misc/register" looks absent from mine.
That's strange. I'd recommend filing an issue. Any details on how I can reproduce the error will be helpful, even if I have to temporarily rent one of those things. I'm on a mission to make binaries portable.
1 reply →