Trying to run a Python script with the above code, the stderr of CompletedProcess result returns Error changing dalvik-cache ownership : Permission denied
Chaquopy is embedded in the Android app process, and doesn't provide a Python executable, so you can't run Python subprocesses in this way. Instead, try using runpy.run_path.
Chaquopy version
15.0.1
Devices or emulators where the issue happens
OnePlus 7 Pro
Relevant parts of your code
Describe your issue
Trying to run a Python script with the above code, the
stderr
ofCompletedProcess
result returnsError changing dalvik-cache ownership : Permission denied