mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-15 06:11:20 +00:00
...
This commit is contained in:
@ -63,7 +63,7 @@ func StartProcess(label string, execPath string, args []string, inFile io.Reader
|
|||||||
return proc, nil
|
return proc, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (proc *Process) StopProcess() error {
|
func (proc *Process) StopProcess(kill bool) error {
|
||||||
defer proc.OutputFile.Close()
|
defer proc.OutputFile.Close()
|
||||||
if kill {
|
if kill {
|
||||||
fmt.Printf("Killing process %v\n", proc.Cmd.Process)
|
fmt.Printf("Killing process %v\n", proc.Cmd.Process)
|
||||||
|
Reference in New Issue
Block a user