add log
This commit is contained in:
parent
1c35860c17
commit
e220663e71
@ -1,6 +1,7 @@
|
|||||||
package msgcmd
|
package msgcmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"log"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -92,6 +93,7 @@ func parseResult(str string) interface{} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Println("command result ::::: ", m)
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -113,5 +115,6 @@ func runCMD(txt, c string, s *lineobj.SourceObject) (res string) {
|
|||||||
res = strings.Replace(res, v[0], cmdRes, 1)
|
res = strings.Replace(res, v[0], cmdRes, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Println("run cmd ::::: ", res)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user