printing out raspivid command

This commit is contained in:
Saxon1 2018-05-05 13:57:49 +09:30
parent 144e352e41
commit a7544006cb
1 changed files with 1 additions and 0 deletions

View File

@ -559,6 +559,7 @@ func (r *revid) setupInputForRaspivid() error {
Path: name,
Args: append([]string{name}, arguments...),
}
r.Log(Info, fmt.Sprintf("Startin raspivid with args: %v", r.cmd.Args))
if filepath.Base(name) == name {
if lp, err := exec.LookPath(name); err != nil {
r.Log(Error, err.Error())