T
Termux11mo ago
Agent_E11

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)
1 Reply
Dr. Jaska
Dr. Jaska10mo ago
@Agent_E11 #!/bin/env bash I hope you don't have systems without /bin On usual systems nowadays /bin is a symlink to /usr/bin
Want results from more Discord servers?
Add your server