Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]There is no output content,I don't know how to use it. #110

Open
warglaive6046 opened this issue Jan 4, 2025 · 1 comment
Open

Comments

@warglaive6046
Copy link

I am using MacroDroid to call Termux,but the values for exit code,standard error,and standard out are all empty.I have tried different combinations,but I have no idea how to fill in the content.

I have tried the following combinations,but the results are all empty.But the desired output should betasker termux.properties.

  1. Executable: /data/data/com.termux/files/usr/bin/ls
    Argument: ~/.termux
  2. Executable: /data/data/com.termux/files/usr/bin/bash
    Argument: ls ~/.termux
  3. Executable: /data/data/com.termux/files/usr/bin/bash
    Stdin: ls ~/.termux

I am very certain that thecom.termux.permission.RUN_COMMANDpermission is enabled andallow-external-appsis set totrue.

My goal is to use SSH to connect to the server,but I can't even view the local file directories,which is very frustrating.

So,how to do it?Thank you very much.

Android:15
com.termux:0.119.0-beta.1(F-Droid)
com.termux.tasker:0.60.0(F-Droid)
com.arlosoft.macrodroid:5.49.13(Google Play)

Screenshot_2025-01-04-16-49-13-436_com termux tasker
Screenshot_2025-01-04-16-50-00-444_com arlosoft macrodroid
Screenshot_2025-01-04-16-50-03-864_com arlosoft macrodroid

@warglaive6046
Copy link
Author

Same problems in tasker APP
Screenshot_2025-01-04-21-34-55-142_net dinglisch android taskerm

Argument:/data/data/com.termux/files/usr
stdout:null

It seems that the problem isn't with what I wrote,but with a bug,perhaps due to Android 15?
When I use Termux,the command is executed correctly./data/data/com.termux/files/usr/bin/ls /data/data/com.termux/files/usr
Screenshot_2025-01-04-21-33-36-905_com termux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant