Added spaces trim to Exec result

pull/13/head
Paulo Truta 2021-06-12 13:05:41 +00:00
parent bd889304ca
commit b225c6bfd8
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func Exec(path string, command string, args []string) string {
// log.Println("Result: " + out.String()) // ... Silence ... // log.Println("Result: " + out.String()) // ... Silence ...
return out.String() return strings.Trim(out.String(), " ")
} }