1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 09:34:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-02-25 13:22:28 +08:00
parent ef50bef040
commit 437a01a4c9

View File

@ -346,7 +346,11 @@ func init() {
}}, }},
FOR_FLOW: {Name: "forFlow name cmd*='sh etc/miss.sh'", Help: "流程", Icon: "bi bi-terminal", Hand: func(m *ice.Message, arg ...string) { FOR_FLOW: {Name: "forFlow name cmd*='sh etc/miss.sh'", Help: "流程", Icon: "bi bi-terminal", Hand: func(m *ice.Message, arg ...string) {
m.Options(ctx.DISPLAY, PLUGIN_XTERM, cli.CMD_OUTPUT, nfs.NewWriteCloser(func(buf []byte) (int, error) { m.Options(ctx.DISPLAY, PLUGIN_XTERM, cli.CMD_OUTPUT, nfs.NewWriteCloser(func(buf []byte) (int, error) {
PushNoticeGrow(m.Options(ice.MSG_COUNT, "0", ice.LOG_DEBUG, ice.FALSE), strings.ReplaceAll(string(buf), lex.NL, "\r\n")) PushNoticeGrow(m.Options(
ice.MSG_COUNT, "0",
ice.LOG_DEBUG, ice.FALSE,
ice.LOG_DISABLE, ice.TRUE,
), strings.ReplaceAll(string(buf), lex.NL, "\r\n"))
return len(buf), nil return len(buf), nil
}, nil)) }, nil))
msg := m.Spawn(ice.Maps{ice.MSG_DEBUG: ice.FALSE}) msg := m.Spawn(ice.Maps{ice.MSG_DEBUG: ice.FALSE})