From 70b9a368caee165dd0c0754448f9bcb664014bbf Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Thu, 5 Nov 2015 14:21:33 -0800 Subject: [PATCH] ... --- process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.go b/process.go index 88497a98..5560aaa4 100644 --- a/process.go +++ b/process.go @@ -63,7 +63,7 @@ func StartProcess(label string, execPath string, args []string, inFile io.Reader return proc, nil } -func (proc *Process) StopProcess() error { +func (proc *Process) StopProcess(kill bool) error { defer proc.OutputFile.Close() if kill { fmt.Printf("Killing process %v\n", proc.Cmd.Process)