Arthas UI
Toggle table of contents
0.5.1
jvm
Platform filter
jvm
Switch theme
Search in API
Arthas UI
Arthas UI
/
io.github.vudsen.arthasui.api.host
/
ShellAvailableHostMachine
/
createInteractiveShell
create
Interactive
Shell
abstract
fun
createInteractiveShell
(
vararg
command
:
String
)
:
InteractiveShell
创建一个交互式的连接.
交互式进程
可能在命令执行失败时也不会抛出异常
,需要手动通过
InteractiveShell.exitCode
来判断命令是否正常退出,然后进行错误处理。