manager: create new root shell for module installation to avoid block other su operations

This commit is contained in:
weishu
2024-02-23 18:16:06 +08:00
parent f855f8148a
commit 5591a94f87

View File

@@ -112,7 +112,7 @@ fun installModule(
}
val cmd = "module install ${file.absolutePath}"
val shell = getRootShell()
val shell = createRootShell()
val stdoutCallback: CallbackList<String?> = object : CallbackList<String?>() {
override fun onAddElement(s: String?) {