manager: Create a new root shell for action.sh to avoid blocking the global root shell.
This commit is contained in:
@@ -191,7 +191,7 @@ fun flashModule(
|
||||
fun runModuleAction(
|
||||
moduleId: String, onStdout: (String) -> Unit, onStderr: (String) -> Unit
|
||||
): Boolean {
|
||||
val shell = getRootShell()
|
||||
val shell = createRootShell(true)
|
||||
|
||||
val stdoutCallback: CallbackList<String?> = object : CallbackList<String?>() {
|
||||
override fun onAddElement(s: String?) {
|
||||
|
||||
Reference in New Issue
Block a user