Working tty and io support in shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package shim
|
||||
|
||||
import runc "github.com/crosbymichael/go-runc"
|
||||
import "github.com/crosbymichael/console"
|
||||
|
||||
type process interface {
|
||||
// Pid returns the pid for the process
|
||||
Pid() int
|
||||
// Resize resizes the process console
|
||||
Resize(ws runc.WinSize) error
|
||||
Resize(ws console.WinSize) error
|
||||
// Exited sets the exit status for the process
|
||||
Exited(status int)
|
||||
// Status returns the exit status
|
||||
|
||||
Reference in New Issue
Block a user