feat: add execution in goroutine
This commit is contained in:
@@ -76,13 +76,17 @@ func MakeFooter(targEntry *widget.Entry, book *string, app fyne.App) *fyne.Conta
|
|||||||
if !ok {
|
if !ok {
|
||||||
log.Println("something went wrong while looking for the binary, see above for details")
|
log.Println("something went wrong while looking for the binary, see above for details")
|
||||||
}
|
}
|
||||||
ok, result = runner.RunMeshbook(path, *book, targEntry.Text)
|
|
||||||
if !ok {
|
log.Println("kicking off goroutine")
|
||||||
log.Println("something went wrong while running the meshbook, see above for details")
|
go func() {
|
||||||
}
|
ok, result = runner.RunMeshbook(path, *book, targEntry.Text)
|
||||||
log.Println(result)
|
if !ok {
|
||||||
textEntry.SetText(result)
|
log.Println("something went wrong while running the meshbook, see above for details")
|
||||||
showBtn.Enable()
|
}
|
||||||
|
log.Println(result)
|
||||||
|
textEntry.SetText(result)
|
||||||
|
showBtn.Enable()
|
||||||
|
}()
|
||||||
|
|
||||||
})
|
})
|
||||||
actionWrap := container.NewGridWrap(
|
actionWrap := container.NewGridWrap(
|
||||||
|
|||||||
Reference in New Issue
Block a user