diff --git a/src/Sound/flitevoice.cxx b/src/Sound/flitevoice.cxx index 3d75bc6..172b94c 100644 --- a/src/Sound/flitevoice.cxx +++ b/src/Sound/flitevoice.cxx @@ -85,7 +85,7 @@ void FGFLITEVoice::speak(const string & msg) SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd ); - system(urlcmd.c_str()); + popen(urlcmd.c_str(),"r"); } } }