Added spaces trim to Exec result

This commit is contained in:
Paulo Truta
2021-06-12 13:05:41 +00:00
parent bd889304ca
commit b225c6bfd8
+1 -1
View File
@@ -51,7 +51,7 @@ func Exec(path string, command string, args []string) string {
// log.Println("Result: " + out.String()) // ... Silence ...
return out.String()
return strings.Trim(out.String(), " ")
}