subprocess.popen how wait complete open process

Chris Angelico rosuav at gmail.com
Sun Aug 21 17:05:08 EDT 2022


On Mon, 22 Aug 2022 at 05:39, simone zambonardi
<simone.zambonardi at gmail.com> 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
>

First you have to define "fully open". How would you know?

ChrisA


More information about the Python-list mailing list