andrewmk

Results 15 comments of andrewmk

Ah, I think I've got it. As far as I can tell the event loop of the [cookbook recipe](https://pysimplegui.readthedocs.io/en/latest/cookbook/#:~:text=update(event)%0A%0AMediaPlayerGUI()-,Recipe%20-%20Script%20Launcher%20-%20Exec%20APIs,-This%20program%20will) (which currently looks like this): ``` while True: event, values =...

OK I've got psgtest running and I'll take a look at that. Thanks.

I've boiled it down to a slightly smaller program that seems to work so far on Linux: ```python import threading import subprocess import PySimpleGUI as sg def make_window(): layout =...

I get so much benefit from open source software both at work and at home that I try to contribute whenever I can. And the effort that seems to have...

Just to check my understanding (as threading in any language gives me the heebie-jeebies), am I right in thinking that the external process actually starts running as soon as `sg.execute_command_subprocess(args[0],...

I like this pattern too. I can understand what's going on, where data is flowing and when. In my event loop I can now disable the 'Run' button when the...

OK, I'll leave you alone now, but here's my app so far. From never having heard of PySimpleGUI 3 days ago to this - I feel pretty happy... ![Screenshot 2021-11-30...

A small change to the demo code if you **don't** want stdout and stderr merged together and need to be able to tell which line came from which pipe. In...

I realised after posting this that it could be a bit simpler as you don't need three threads. But I agree it still makes it a bit more complex for...