Add exec APIs
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
cccf5d3723
commit
7715ddcefa
19 changed files with 759 additions and 126 deletions
|
@ -139,3 +139,7 @@ func (e *execProcess) Resize(ws console.WinSize) error {
|
|||
}
|
||||
return e.console.Resize(ws)
|
||||
}
|
||||
|
||||
func (e *execProcess) Signal(sig int) error {
|
||||
return syscall.Kill(e.pid, syscall.Signal(sig))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue