Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Logger *logrus.Logger
Task string
Logfile string
Flags []string
// contains filtered or unexported fields
}
Cmd holds the information needed to run a process
func (*Cmd) RunCmdWithFlags ¶
RunCmdWithFlags creates a process out of the Cmd object.
func (*Cmd) StopProcess ¶
func (cmd *Cmd) StopProcess()
StopProcess is used to signal SIGTERM to the running process.
Click to show internal directories.
Click to hide internal directories.