oops
This commit is contained in:
@@ -33,7 +33,7 @@ edgePID=$!
|
|||||||
## because it thinks file is empty and won't have any data.
|
## because it thinks file is empty and won't have any data.
|
||||||
##
|
##
|
||||||
## kill -0 checks if PID is still running.
|
## 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
|
do
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user