MCPcopy Index your code
hub / github.com/cSploit/android / exec

Method exec

cSploit/src/org/csploit/android/core/ChildManager.java:59–61  ·  view source on GitHub ↗

execute a command @param handler name of the handler @param env custom environment variables @param cmd arguments for the child @param receiver the org.csploit.android.core.Child.EventReceiver that will receive child events @return the process exit value @throws InterruptedException

(String handler, String cmd, String[] env, EventReceiver receiver)

Source from the content-addressed store, hash-verified

57 * @throws ChildDiedException if child get killed
58 */
59 public static int exec(String handler, String cmd, String[] env, EventReceiver receiver) throws InterruptedException, ChildDiedException, ChildNotStartedException {
60 return wait(async(handler, cmd, env, receiver));
61 }
62
63 public static int exec(String handler, String cmd) throws InterruptedException, ChildDiedException, ChildNotStartedException {
64 return exec(handler, cmd, null, null);

Callers 1

startCoreDaemonMethod · 0.45

Calls 2

waitMethod · 0.95
asyncMethod · 0.95

Tested by

no test coverage detected