删除 log
This commit is contained in:
parent
281a4f4d64
commit
30312d4b9c
@ -45,13 +45,6 @@ func (t *TaskMan) Put(cf *changedFile) {
|
||||
}
|
||||
|
||||
func (t *TaskMan) preRun(cf *changedFile) {
|
||||
log.Println("preRun ...", t.cmd)
|
||||
log.Println(t.cmd != nil)
|
||||
if t.cmd != nil {
|
||||
log.Println(t.cmd.Process != nil)
|
||||
//log.Println(t.cmd.ProcessState != nil)
|
||||
//log.Println(!t.cmd.ProcessState.Exited())
|
||||
}
|
||||
if t.cmd != nil && t.cmd.Process != nil {
|
||||
log.Println("stop old process ")
|
||||
if err := t.cmd.Process.Kill(); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user