1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-06 12:46:34 +01:00
Files
incus/internal/server/instance/instance_exec_cmd.go
Stéphane Graber d33cb2388a internal/server: Move all packages from incusd
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-09-29 23:44:30 -04:00

14 lines
247 B
Go

package instance
import (
"golang.org/x/sys/unix"
)
// Cmd represents a local or remote command being run.
type Cmd interface {
Wait() (int, error)
PID() int
Signal(s unix.Signal) error
WindowResize(fd, winchWidth, winchHeight int) error
}