Open GoogleCodeExporter opened 8 years ago
You can try this:
<code>
String text = "busybox chroot /data/local/debian /usr/bin/python
/usr/src/program.py";
RootTools.getShell(true).add(new Command(0,//
text,//
Command1,//
Command2,//
Command3,//
Command4,//
Command4) {
@Override
public void output(int pId, String pLine) {
publishProgress(pLine);
}
}).waitForFinish();
</code>
All commands will be executed sequentially.
RootTools, does not support interactive communication with the process.(This
assumption I made based on the source code. But this assumption may be wrong.)
I would like to ask the developers. Do you plan to implement to interact with
the running process? This capability would be very useful.
Original comment by CkopII...@gmail.com
on 11 Mar 2013 at 8:34
Thank you for answer. Yes, I wanted to do program with communication with the
process.
Original comment by imhol...@gmail.com
on 11 Mar 2013 at 2:03
Original issue reported on code.google.com by
imhol...@gmail.com
on 9 Mar 2013 at 9:45