Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

Python • Re: Wait for app to open with Python

$
0
0
Does it work?
Not really, it starts running my program when Audacity is opening, not when it opened. When it runs the program when Audacity is opening, I get the error: "disconnected pipe". Is there a way to have it run my script when Audacity is opened, and not opening?
What's wrong with what has been suggested; keep trying until there isn't an error ? Timeout if it hasn't succeeded in a significant time frame ?

I'm not clear why the code you present is starting a Python program rather than launching Audacity. Perhaps post the code you actually have to open Audacity and communicate with it.

Statistics: Posted by hippy — Mon Jul 08, 2024 12:46 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles