A
A
Alex2016-11-13 07:23:10
Android
Alex, 2016-11-13 07:23:10

exec does not work, what to do?

Exec does not work at all, what is the reason?

final Runtime run = Runtime.getRuntime();
String[] cmd = new String[] {"su", "sh /sdcard/phar/phar.sh"}; 
run.exec(cmd).waitFor();

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2016-11-13
@aol-nnov

Well, what are you doing here to spam with your exec? I even sent you a code example in the last question .. and a good article with comments.
sdcard can be mounted with noexec so that all sorts of mommy kakirs are not naughty.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question