termux-exec in Termux:Widgets shortcuts
I have a shortcut that calls another script with the shebang
#!/usr/bin/env bash this works in the regular terminal, but doesn't when I run the shortcut from the home screen. I get the error<long path to other script>: bad interpreter: /usr/bin/env bash: no such file or directory. Is there any way to fix this? (I do not want to change the shebang line because this script is used on systems other than termux)