From cce046642c0c697023ca521131d344e3ec3a62f1 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Wed, 7 Dec 2022 01:11:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Sound/flitevoice.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Sound/flitevoice.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } } }