darken
2017-04-13 13:39:13 UTC
On a Pixel device running Android O, xarg doesn't seem to work.
The commands were run from an normal user (non-system app) without root.
V/Shell:Interactive: Input : SDMBOX=/data/user/0/eu.
Just running the FIND applet works:
V/Shell:Interactive: Input : $SDMBOX find '/data/user/0/eu.thedarken.
V/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/files/uuid-token
V/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/files/toybox_sdm
D/Shell:Interactive: runCommand(...): Command.Result(exitcode=0)
With XARGS it doesn't work:
V/Shell:Interactive: Input : $SDMBOX find '/data/user/0/eu.thedarken.sdm/files'
D/Shell:Interactive: runCommand(...): Command.Result(exitcode=159)
Any idea why? Or how I could find out why?
~Matthias
The commands were run from an normal user (non-system app) without root.
V/Shell:Interactive: Input : SDMBOX=/data/user/0/eu.
thedarken.sdm/files/toybox_sdm
Toybox build i used: https://github.com/d4rken/toyboxJust running the FIND applet works:
V/Shell:Interactive: Input : $SDMBOX find '/data/user/0/eu.thedarken.
sdm/files'
V/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/filesV/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/files/uuid-token
V/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/files/toybox_sdm
D/Shell:Interactive: runCommand(...): Command.Result(exitcode=0)
With XARGS it doesn't work:
V/Shell:Interactive: Input : $SDMBOX find '/data/user/0/eu.thedarken.sdm/files'
-maxdepth 0 -print0 | $SDMBOX xargs -0 $SDMBOX echo
V/Shell:Interactive: Error : Bad system callD/Shell:Interactive: runCommand(...): Command.Result(exitcode=159)
Any idea why? Or how I could find out why?
~Matthias