added logs
parent
e855d65d60
commit
4f6c373934
1
lib.go
1
lib.go
|
@ -249,6 +249,7 @@ func Exec(str string, opts ...*Opts) ([]*exec.Cmd, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fqncmd = filepath.Join(cmdwd, l.Tokens[0])
|
fqncmd = filepath.Join(cmdwd, l.Tokens[0])
|
||||||
}
|
}
|
||||||
|
log.Printf("Will call CMD: %s", fqncmd)
|
||||||
cmd := exec.Command(fqncmd, l.Tokens[1:]...)
|
cmd := exec.Command(fqncmd, l.Tokens[1:]...)
|
||||||
cmd.Stdout = log.Writer()
|
cmd.Stdout = log.Writer()
|
||||||
cmd.Stderr = log.Writer()
|
cmd.Stderr = log.Writer()
|
||||||
|
|
Loading…
Reference in New Issue