This commit is contained in:
Jae Kwon 2015-11-05 14:21:33 -08:00
parent db87630689
commit 70b9a368ca
1 changed files with 1 additions and 1 deletions

View File

@ -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)