shell/linux/events.go

19 lines
253 B
Go
Raw Normal View History

package linux
const (
EventOutput = iota
2024-07-06 21:09:17 +02:00
EventExit
)
type EventOutputData struct {
2024-07-06 21:09:17 +02:00
Output string
CmdOptions CommandOptions
}
type EventExitData struct {
HasSucceeded bool
ExitCode int
CmdOptions CommandOptions
Error string
}