mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-05 07:56:50 +08:00
bug fix
This commit is contained in:
@@ -111,7 +111,8 @@ var OperationHandle = map[constants.TaskOperation]operationFunc{
|
|||||||
log.Logger.Debugw("进程已在运行")
|
log.Logger.Debugw("进程已在运行")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return proc.Start() == nil
|
go proc.Start()
|
||||||
|
return true
|
||||||
},
|
},
|
||||||
|
|
||||||
constants.TASK_START_WAIT_DONE: func(data *model.Task, proc *ProcessBase) bool {
|
constants.TASK_START_WAIT_DONE: func(data *model.Task, proc *ProcessBase) bool {
|
||||||
|
Reference in New Issue
Block a user