Last active
March 26, 2019 05:31
-
-
Save abhirockzz/dc580a5edc65add1f668c84f63c9b90c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
flite := exec.Command("flite", "-t", text, "-o", outputLocation) | |
err := flite.Run() | |
if err != nil { | |
errMsg := "failed due to " + err.Error() | |
log.Println(errMsg) | |
out.Write([]byte(errMsg)) | |
return | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment