|
|
|
@ -249,6 +249,7 @@ func Exec(str string, opts ...*Opts) ([]*exec.Cmd, error) {
|
|
|
|
|
if err != nil {
|
|
|
|
|
fqncmd = filepath.Join(cmdwd, l.Tokens[0])
|
|
|
|
|
}
|
|
|
|
|
log.Printf("Will call CMD: %s", fqncmd)
|
|
|
|
|
cmd := exec.Command(fqncmd, l.Tokens[1:]...)
|
|
|
|
|
cmd.Stdout = log.Writer()
|
|
|
|
|
cmd.Stderr = log.Writer()
|
|
|
|
|