MCPcopy Index your code
hub / github.com/Stericson/RootShell / getPath

Method getPath

src/main/java/com/stericson/RootShell/RootShell.java:308–310  ·  view source on GitHub ↗

This will return the environment variable PATH @return List A List of Strings representing the environment variable $PATH

()

Source from the content-addressed store, hash-verified

306 * @return <code>List<String></code> A List of Strings representing the environment variable $PATH
307 */
308 public static List<String> getPath() {
309 return Arrays.asList(System.getenv("PATH").split(":"));
310 }
311
312 /**
313 * This will open or return, if one is already open, a shell, you are responsible for managing the shell, reading the output

Callers 4

findBinaryMethod · 0.95
runMethod · 0.95
AnnotationsFinderMethod · 0.80
getCommandMethod · 0.80

Calls

no outgoing calls

Tested by 1

runMethod · 0.76