代码拉取完成,页面将自动刷新
package gcs
// ShellConfig 定义命令的结构体
type ShellConfig struct {
printer bool // 打印详细错误信息(默认: true)
prints bool // 是否打印详细信息(默认: false)
debug bool // 是否打印调试信息(默认: false)
password string // sudo权限使用的密码
home string // 当前用户家目录(自动判断)
user string // 当前用户名(自动判断)
uid int // 当前用户uid(自动判断)
isRoot bool // 是否属于root用户(自动判断)
realtime bool // 是否开启实时打印信息
SudoPath string // sudo命令绝对路径
ShellFile string // 生成的Shell脚本
text string // 需要执行的命令
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。