From 9c6bb2d5d790f881bfbd4c59e22a70df41e1631b Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 4 Jan 2009 21:28:10 +0000 Subject: - git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2415 74dad513-b988-da41-8d7b-12977e46ad98 --- tests/pjsua/mod_pesq.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/pjsua') diff --git a/tests/pjsua/mod_pesq.py b/tests/pjsua/mod_pesq.py index 2e86d986..063c8842 100644 --- a/tests/pjsua/mod_pesq.py +++ b/tests/pjsua/mod_pesq.py @@ -25,7 +25,7 @@ from inc_cfg import * cfg_file = imp.load_source("cfg_file", ARGS[1]) # PESQ configs -PESQ = "tools/pesq.exe" # PESQ executable path +PESQ = "tools/pesq" # PESQ executable path PESQ_DEFAULT_THRESHOLD = 3.4 # Default minimum acceptable PESQ MOS value # PESQ params @@ -125,7 +125,7 @@ def post_func(t): # Execute PESQ fullcmd = PESQ + " " + pesq_sample_rate_opt + " " + input_filename + " " + output_filename endpt.trace("Popen " + fullcmd) - pesq_proc = subprocess.Popen(fullcmd, stdout=subprocess.PIPE, universal_newlines=True) + pesq_proc = subprocess.Popen(fullcmd, shell=True, stdout=subprocess.PIPE, universal_newlines=True) pesq_out = pesq_proc.communicate() # Parse ouput -- cgit v1.2.3