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

Method run

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

Runs commands using the supplied shell, and returns the output, or null in case of errors. @deprecated This method is deprecated and only provided for backwards compatibility. Use Pool's method instead. If #isRedirectDeprecated() is true (default), these calls are now autom

(@NonNull String shell, @NonNull String[] commands, boolean wantSTDERR)

Source from the content-addressed store, hash-verified

132 * @return Output of the commands, or null in case of an error
133 */
134 @Nullable
135 @Deprecated
136 @WorkerThread
137 public static List<String> run(@NonNull String shell, @NonNull String[] commands, boolean wantSTDERR) {
138 return run(shell, commands, null, wantSTDERR);
139 }
140
141 /**
142 * <p>

Callers 4

runMethod · 0.95
runMethod · 0.95
versionMethod · 0.95
canInjectMethod · 0.95

Calls 9

onMainThreadMethod · 0.95
logMethod · 0.95
getWrapperMethod · 0.95
logCommandMethod · 0.95
isSUMethod · 0.95
getInputStreamMethod · 0.80
runMethod · 0.65
closeMethod · 0.45

Tested by

no test coverage detected