MCPcopy Create free account
hub / github.com/Chainfire/libsuperuser / run

Method run

libsuperuser/src/eu/chainfire/libsuperuser/Shell.java:335–342  ·  view source on GitHub ↗

Runs command and return output @deprecated Consider using Shell.Pool.SH.run() instead @param command The command to run @return Output of the command, or null in case of an error

(@NonNull String command)

Source from the content-addressed store, hash-verified

333 * @return Output of the command, or null in case of an error
334 */
335 @Nullable
336 @Deprecated
337 @WorkerThread
338 public static List<String> run(@NonNull String command) {
339 return Shell.run("sh", new String[]{
340 command
341 }, null, false);
342 }
343
344 /**
345 * Runs commands and return output

Callers

nothing calls this directly

Calls 1

runMethod · 0.95

Tested by

no test coverage detected