<div dir="ltr">works fine for me with the toybox that's actually part of O. strace?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 6:39 AM, darken <span dir="ltr"><<a href="mailto:darken@darken.eu" target="_blank">darken@darken.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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.thedark<wbr>en.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/toyb<wbr>ox</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.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<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.sdm<wbr>/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>
<br>______________________________<wbr>_________________<br>
Toybox mailing list<br>
<a href="mailto:Toybox@lists.landley.net">Toybox@lists.landley.net</a><br>
<a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" rel="noreferrer" target="_blank">http://lists.landley.net/<wbr>listinfo.cgi/toybox-landley.<wbr>net</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Elliott Hughes - <a href="http://who/enh" target="_blank">http://who/enh</a> - <a href="http://jessies.org/~enh/" target="_blank">http://jessies.org/~enh/</a><br>Android native code/tools questions? Mail me/drop by/add me as a reviewer.</div>
</div>