Sometimes, launching subprocesses can seem like punishment. I don't think there is a standard cross-platform way to know when a launched asynchronous process is "fully open" (i.e. fully initialized, accepting user input).
On Sun, 2022-08-21 at 02:11 -0700, simone zambonardi wrote: > Hi, I am running a program with the punishment subrocess.Popen(...) > what I should do is to stop the script until the launched program is > fully open. How can I do this? I used a time.sleep() function but I > think there are other ways. Thanks -- https://mail.python.org/mailman/listinfo/python-list