Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197153
| From | Gilmeh Serda <gilmeh.serda@nothing.here.invalid> |
|---|---|
| Subject | Re: subprocess.Popen does not launch audacity |
| Newsgroups | comp.lang.python |
| References | <735b7965-c16c-45a7-a2b8-d9ff1adc21ba@gmail.com> <mailman.56.1736536555.2912.python-list@python.org> |
| Message-ID | <hzggP.7$qLY1.5@fx07.ams4> (permalink) |
| Organization | Easynews - www.easynews.com |
| Date | 2025-01-10 21:46 +0000 |
On Fri, 10 Jan 2025 10:15:50 -0900, Tim Johnson wrote: > using subprocess.Popen(). I have never been able to successfully launch > audacity using this approach, Some thoughts you might try: What does your .desktop file say (launcher menu)? Assuming you have it installed that way. Or is it a flatpak or something? Read the .desktop file so you use the exact same command. It might not be what you expected. It might need some option or it's a different command from what you thought. Or, try the command you used, but at the prompt, does that work? Get any errors? Or try something simpler, like without PIPEs, sort of back to basics, as it were. What's in "choice" variable? Only the (correct) command, or something else also? Test it to be sure, it's easy to add things that shouldn't be there in a moment of a brain fatigue. Does it work outside your script file? For instance by invoking the Python prompt and try there? -- Gilmeh They are relatively good but absolutely terrible. -- Alan Kay, commenting on Apollos
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
subprocess.Popen does not launch audacity Tim Johnson <thjmmj15@gmail.com> - 2025-01-10 10:15 -0900 Re: subprocess.Popen does not launch audacity Gilmeh Serda <gilmeh.serda@nothing.here.invalid> - 2025-01-10 21:46 +0000
csiph-web