mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
Exec using API
This commit is contained in:
@@ -149,3 +149,7 @@ func (c *Container) Restart() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (c *Container) Exec(cmd []string) error {
|
||||
return c.manager.Exec(cmd)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user