(args []string)
| 117 | } |
| 118 | |
| 119 | func (c *commandCenter) processStop(args []string) { |
| 120 | for _, p := range c.cmd.processes { |
| 121 | if len(args) == 0 { |
| 122 | p.Stop(true) |
| 123 | continue |
| 124 | } |
| 125 | |
| 126 | for _, pattern := range args { |
| 127 | if utils.WildcardMatch(pattern, p.Name) { |
| 128 | p.Stop(true) |
| 129 | break |
| 130 | } |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | func (c *commandCenter) processKill() { |
| 136 | for _, p := range c.cmd.processes { |
no test coverage detected