Windows console (#299)

* initial release of wails console

* lint fix
This commit is contained in:
Lea Anthony
2019-11-27 22:55:19 +11:00
committed by GitHub
parent 806b1aa8e0
commit 2c2aee2d30
12 changed files with 251 additions and 30 deletions

View File

@@ -43,6 +43,7 @@ echo "**** WE ARE DONE! ****"
func runCommand(command string, args ...string) {
cmd := exec.Command(command, args...)
output, err := cmd.CombinedOutput()
fmt.Println(string(output))
if err != nil {
log.Println(string(output))
log.Fatal(err)