in reply to The system command and waiting for the child process to finish
Furthermore, I can't reproduce your problem; when I do call mplayer from a Perl program using system, the program waits for mplayer to finish before continuing.
You don't have a & in your real code, do you?
|
|---|