Debora has a pretty list.

This commit is contained in:
Jae Kwon
2015-04-24 13:12:53 -07:00
parent b02f088cc7
commit e294b1f954
2 changed files with 21 additions and 13 deletions

View File

@ -13,6 +13,7 @@ import (
type Process struct {
Label string
ExecPath string
Args []string
Pid int
StartTime time.Time
EndTime time.Time
@ -55,6 +56,7 @@ func Create(mode int, label string, execPath string, args []string, input string
proc := &Process{
Label: label,
ExecPath: execPath,
Args: args,
Pid: cmd.Process.Pid,
StartTime: time.Now(),
OutputPath: outPath,