diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 0951363..a43d635 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -658,8 +658,8 @@ void FGCom::valueChanged(SGPropertyNode *prop) std::string urlcmd = "ffplay -nodisp -autoexit -loglevel quiet -i "; urlcmd.append(soundpath.c_str()); - //SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd ); - popen(urlcmd.c_str(),"x"); + SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd ); + popen(urlcmd.c_str(),"r"); } else {