3 ms·
Anyone know how to get the code in this article to work inside zsh? When I try to run the wiki executable, I get a command line error: "zsh: exec format error:
by aarpmcgee 4y ago
Anyone know how to get the code in this article to work inside zsh? When I try to run the wiki executable, I get a command line error: "zsh: exec format error: ./wiki.com"
When I try it in bash, the server starts right up.
- giraffe_lady 4y agoI remember this from using redbean for something a few months ago, it's a known limitation of that project. The redbean docs say to just do `bash -c './redbean.com -v'`. It also says they upstreamed patches but no more information; maybe it got merged and updating zsh would work? No idea tho. https://redbean.dev/#usage https://redbean.dev/#usage
- aarpmcgee 4y agoSeems to work! Thanks!
- trynewideas 4y agopatched ca. zsh 5.8: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841bc62b06e37134c6e51ea https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841...