getProgram method
Receives the command's first argument. (The program's name)
Implementation
String getProgram() {
if (runAsAdministrator) {
return Platform.isWindows ? "powershell.exe" : "sudo";
}
return program;
}
Receives the command's first argument. (The program's name)
String getProgram() {
if (runAsAdministrator) {
return Platform.isWindows ? "powershell.exe" : "sudo";
}
return program;
}