I wonder if there's any way to check that the sound file is still playing?
I checked $h{STATE}, but its value only changes from 2 to 3 once we apply the $h->signal('INT')
I also considered piping the output into a text file, and checking it periodically, since SoX displays a nice 'Done' when the sound file finishes playing. However, that won't help us if the end user specifies an audio package other than SoX.
In reply to Re^4: Killing a child process
by Anonymous Monk
in thread Killing a child process
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |