Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3791

Shell Execute wait without locking UI

$
0
0

In my desktop app on Linux, I am running an external command via Shell.Execute. Works fine but it locks the UI and the desktop manager is interfering as it thinks the app has crashed.

Looking at the documentation, it looks like I should set the execution mode to asynchronous, and then use the DataAvailable event to capture the output from the shell command.

Does anyone have a code example of how to do this as I can’t work it out from the docs and I can’t find anything in the forum either.

9 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3791

Trending Articles