Open ztx-lyghters opened 10 months ago
Interesting!
I'm wondering why does the backend itself doesn't do that. Maybe this should be an issue on piston itself?
If not, I'd be happy to look into this.
Thanks for considering this. I've never used Piston itself, I will have to investigate that.
Hello.
/bin/sh
historically used to be (and continues to be on some distros) a POSIX or "Bourne" shell specifically, for this reason whenbash
executes shell script with a/bin/sh
shebang, it enters "POSIX mode". Specifying "sh" as a language in the bot doesn't invoke such behavior and runs a standardbash
instead of this.The suggestion is for "sh" alias to run "bash --posix $@" instead. This would be very helpful to have.