Hi All. I am very new to Xojo. I am trying to launch an flatpak (sandboxed) app with Xojo. In order for it not to pause my app I am launching it mode 1. The app only launches if I have a messagebox right after the .execute:
sh.ExecuteMode = Shell.ExecuteModes.aSynchronous
sh.Execute("/usr/bin/flatpak run myapplication &")
messagebox("")
'This works and myapplication launches
sh.ExecuteMode = Shell.ExecuteModes.aSynchronous
sh.Execute("/usr/bin/flatpak run myapplication &")
'This does nothing
I don’t need anything back from the application, I just want it to go off and do it’s own thing. Any ideas?