Add task.ID() API

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2018-03-19 13:44:49 -04:00
parent f5d7bfb56e
commit 9b9a0ac8ad
2 changed files with 7 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ import (
// Process represents a system process
type Process interface {
// ID of the process
ID() string
// Pid is the system specific process id
Pid() uint32
// Start starts the process executing the user's defined binary