You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Android, posix_spawn fixed subprocess args first element equal to program path, when jdk call jspawnhelper, the first will override by the path then will be the issue.
pls check this commit openjdk/mobile@47d00a4
This command is not for general use and should only be run as the result of a call to
ProcessBuilder.start() or Runtime.exec() in a java application
java.io.IOException: Cannot run program "/system/bin/ls" (in directory "/data/data/com.termux/files/home"): error=0,
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089)
at Main.main(Main.java:12)
Caused by: java.io.IOException: error=0,
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:295)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:225)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126)
... 2 more
What is the expected behavior?
list home files.
System information
no need
The text was updated successfully, but these errors were encountered:
Problem description
For Android, posix_spawn fixed subprocess args first element equal to program path, when jdk call jspawnhelper, the first will override by the path then will be the issue.
pls check this commit openjdk/mobile@47d00a4
What steps will reproduce the bug?
What is the expected behavior?
list home files.
System information
The text was updated successfully, but these errors were encountered: