<div dir="ltr"><div>On a Pixel device running Android O, xarg doesn't seem to work.<br></div><div>The commands were run from an normal user (non-system app) without root.<br></div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">V/Shell:Interactive: Input : SDMBOX=/data/user/0/eu.<wbr>thedarken.sdm/files/toybox_sdm<br></blockquote><div><br></div><div>Toybox build i used: <a href="https://github.com/d4rken/toybox" target="_blank">https://github.com/d4rken/<wbr>toybox</a><br><br></div><div>Just running the FIND applet works:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">V/Shell:Interactive: Input : $SDMBOX find '/data/user/0/eu.thedarken.<wbr>sdm/files'<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">V/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/<wbr>files<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">V/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/<wbr>files/uuid-token<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">V/Shell:Interactive: Output: /data/user/0/eu.thedarken.sdm/<wbr>files/toybox_sdm<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">D/Shell:Interactive: runCommand(...): Command.Result(exitcode=0)<br></blockquote><br></div><div>With XARGS it doesn't work:<br></div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">V/Shell:Interactive: Input : $SDMBOX find '/data/user/0/eu.thedarken.<wbr>sdm/files' -maxdepth 0 -print0 | $SDMBOX xargs -0 $SDMBOX echo<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">V/Shell:Interactive: Error : Bad system call<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">D/Shell:Interactive: runCommand(...): Command.Result(exitcode=159)<br> </blockquote></div></div><div><br></div><div>Any idea why? Or how I could find out why?<br></div><div><br>~Matthias<br>
</div></div>