vidstige / jadb

ADB Client in pure Java.
Apache License 2.0
640 stars 178 forks source link

Is it possible to support exec-out ? #150

Open Ryanznoco opened 1 year ago

Ryanznoco commented 1 year ago

How can I implement exec-out, just like this ?

public InputStream executeOut(String command, String... args) throws IOException, JadbException {
    Transport transport = getTransport();
    StringBuilder shellLine = buildCmdLine(command, args);
    send(transport, "exec-out:" + shellLine.toString());
    return new BufferedInputStream(transport.getInputStream());
}
vidstige commented 1 year ago

I don't understand what you want. What is exec-out? Please link to any official sources.