You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing this code on a panda device, i get broken pipe errors, while in
fact i should see this error
/system/bin/id output: su: uid 10048 not allowed to su
The problem is that the sinkProcessOutput is started too late.
change in file shell.java
private static String _runCommand(String command, OUTPUT o) throws IOException {
DataOutputStream os = null;
Process process = null;
try {
process = Runtime.getRuntime().exec(shell);
++ InputStreamHandler sh = sinkProcessOutput(process, o);
os = new DataOutputStream(process.getOutputStream());
-- InputStreamHandler sh = sinkProcessOutput(process, o);
os.writeBytes(command + '\n');
....
Like this you see the first stderr output
Kind regards,
Wim
Original issue reported on code.google.com by [email protected] on 3 Oct 2013 at 11:34
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 3 Oct 2013 at 11:34The text was updated successfully, but these errors were encountered: