Package com.chatopera.bot.utils
Class ShellUtil
java.lang.Object
com.chatopera.bot.utils.ShellUtil
-
Field Details
-
PWD
-
-
Constructor Details
-
ShellUtil
public ShellUtil()
-
-
Method Details
-
pwd
返回当前脚本执行路径- Returns:
-
command
运行命令- Parameters:
cmdline
-- Returns:
-
command
在指定路径运行命令 Returns null if it failed for some reason. -
command
在指定路径运行命令并返回标准输出 Returns null if it failed for some reason.
-