mirror of
https://github.com/rany2/edge-tts
synced 2024-11-21 17:29:07 +00:00
oops
This commit is contained in:
parent
b0db6fb3ae
commit
e6f02fd975
@ -33,7 +33,7 @@ edgePID=$!
|
||||
## because it thinks file is empty and won't have any data.
|
||||
##
|
||||
## kill -0 checks if PID is still running.
|
||||
while [ "$(wc -c "$ttsmpeg")" == 0 ] || kill -0 "$edgePID" 2>/dev/null
|
||||
while kill -0 "$edgePID" 2>/dev/null && [ "$(wc -c < "$ttsmpeg")" == 0 ]
|
||||
do
|
||||
sleep 0.1
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user