Add pid and stdio to process state
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
36eb83cb99
commit
01176f2d7f
8 changed files with 163 additions and 111 deletions
|
@ -61,6 +61,7 @@ func main() {
|
|||
logrus.WithField("error", err).Fatal("shim: create new process")
|
||||
}
|
||||
if err := p.start(); err != nil {
|
||||
p.delete()
|
||||
logrus.WithField("error", err).Fatal("shim: start process")
|
||||
}
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue