From ba01cfbb58d446673beff17e72883cb49c835fb9 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Sat, 2 Jan 2016 16:20:39 -0800 Subject: [PATCH] Remove spurious fmt.Print --- process.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/process.go b/process.go index 5560aaa43..cf2aa0289 100644 --- a/process.go +++ b/process.go @@ -47,7 +47,7 @@ func StartProcess(label string, execPath string, args []string, inFile io.Reader go func() { err := proc.Cmd.Wait() if err != nil { - fmt.Printf("Process exit: %v\n", err) + // fmt.Printf("Process exit: %v\n", err) if exitError, ok := err.(*exec.ExitError); ok { proc.ExitState = exitError.ProcessState } @@ -66,10 +66,10 @@ func StartProcess(label string, execPath string, args []string, inFile io.Reader func (proc *Process) StopProcess(kill bool) error { defer proc.OutputFile.Close() if kill { - fmt.Printf("Killing process %v\n", proc.Cmd.Process) + // fmt.Printf("Killing process %v\n", proc.Cmd.Process) return proc.Cmd.Process.Kill() } else { - fmt.Printf("Stopping process %v\n", proc.Cmd.Process) + // fmt.Printf("Stopping process %v\n", proc.Cmd.Process) return proc.Cmd.Process.Signal(os.Interrupt) } }