diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-01-04 21:28:10 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-01-04 21:28:10 +0000 |
commit | 9c6bb2d5d790f881bfbd4c59e22a70df41e1631b (patch) | |
tree | 47b81112772f9c974b84e43602ecf1d1659b429f /tests/pjsua | |
parent | 2d39ab19e78197e99f886ffe92ff5a1c3cdb65a1 (diff) |
-
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2415 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua')
-rw-r--r-- | tests/pjsua/mod_pesq.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |