public static class ShellUtils.CommandResult
extends java.lang.Object
result
means result of command, 0 means normal, else means error, same to excute in
linux shellsuccessMsg
means success message of command resulterrorMsg
means error message of command result限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
errorMsg
error message of command result
|
int |
result
result of command
|
java.lang.String |
successMsg
success message of command result
|
构造器和说明 |
---|
ShellUtils.CommandResult(int result) |
ShellUtils.CommandResult(int result,
java.lang.String successMsg,
java.lang.String errorMsg) |