()
| 11 | ) |
| 12 | |
| 13 | func init() { |
| 14 | register("exec", "execute a command in a running process", Exec, stdcli.CommandOptions{ |
| 15 | Flags: []stdcli.Flag{flagRack, flagApp}, |
| 16 | Usage: "<pid> <command>", |
| 17 | Validate: stdcli.ArgsMin(2), |
| 18 | }) |
| 19 | } |
| 20 | |
| 21 | func Exec(rack sdk.Interface, c *stdcli.Context) error { |
| 22 | pid := c.Arg(0) |
nothing calls this directly
no test coverage detected