Skip to content

I don't understand termux-notification behavior, can someone please explain #3533

Closed Answered by akim-13
akim-13 asked this question in Q&A
Discussion options

You must be logged in to vote

Solved! Apparently ALL scripts that are called within the termux-notification environment must have absolute shebangs. Since this hook is also just a script, changing #!/bin/bash to #!/data/data/com.termux/files/usr/bin/bash resolved the issue.

I should've spotted it much earlier, however the absence of errors in logs and cryptic error messages threw me off a bit. Appreciate your help @agnostic-apollo !

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@akim-13
Comment options

@agnostic-apollo
Comment options

@akim-13
Comment options

@akim-13
Comment options

Answer selected by akim-13
@agnostic-apollo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants