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