Please describe the problem.
When launching git annex webapp in Termux the browser does not open.
What steps will reproduce the problem?
git-annex is installed in android termux according to installation instructions I execute the "git annex webapp" command in termux and I get this error: Launching web browser on http://127.0.0.1:59394/........ /data/data/com.termux/files/usr/bin/am: 4: exec: /system/bin/app_process: Operation not permitted
So the browser does not automatically open with the webapp. If I manually open the browser and I copy-paste the url to it, then it works.
What version of git-annex are you using? On what operating system?
7.20190219-g728228d5d for android
Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Not yet: I tried to use it some years ago to handle my photo collection but I think digikam didn't like the sim links and it was very slow; I also was not lucky with the external (NTFS) drive that I used for sync/backup. But I like this project so much that I frequently come back to check for updates and test myself with it.
git-annex uses the xdg-open command in termux to open the webapp, so you will probably get the same error message if you run a command like
So this is a problem with termux, or perhaps something in your Android is preventing termux from communicating with it correctly. It's not a problem I can address in git-annex, so I'm going to close this bug report.
I tried xdg-open http://www.google.com and it actually works fine. I also tried with xdg-open http://127.0.0.1:annexport/annexurlpath and I don't have any issue with that: the browser opens up and it shows the assistant page.
Any other idea?
Reopened the bug since you confirmed xdg-open usually works.
Why is it failing when git-annex runs it but not otherwise? Perhaps it has something to do with the environment set up by runshell.