-
I'm looking to use edge-playback within a Python subprocess (I am in a restricted interpreter used for accessibility software where I can't install extra packages but I can call system binaries) ( so I can't just use the python library for edge-tts) I was looking to use a subprocess. However, given the way the "mpv" dependency is determined in edge-tts (by using from I have a valid (windows) mpv path located at The following code however, does not work
That doesn't work for me and it says since I have the subprocess inheriting the environment from the shell I thought it would have all the correct paths and environment variables |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to solve this by simply putting the command in a separate script and then calling the script with
I'm not entirely sure what caused this issue but I'm supposing that it is likely just a misunderstanding with regards to subprocesses and shell environments |
Beta Was this translation helpful? Give feedback.
I was able to solve this by simply putting the command in a separate script and then calling the script with
I'm not entirely sure what caused this issue but I'm supposing that it is likely just a misunderstanding with regards to subprocesses and shell environments