This will return the environment variable PATH @return List A List of Strings representing the environment variable $PATH
()
| 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 |
no outgoing calls