summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-01-04 21:28:10 +0000
committerBenny Prijono <bennylp@teluu.com>2009-01-04 21:28:10 +0000
commit9c6bb2d5d790f881bfbd4c59e22a70df41e1631b (patch)
tree47b81112772f9c974b84e43602ecf1d1659b429f
parent2d39ab19e78197e99f886ffe92ff5a1c3cdb65a1 (diff)
-
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2415 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--tests/pjsua/mod_pesq.py4
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