Browse Source

...

pull/1842/head
Jae Kwon 9 years ago
parent
commit
70b9a368ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      process.go

+ 1
- 1
process.go 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)


Loading…
Cancel
Save