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
commit 2c2aee2d30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)