summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-01-05 15:31:25 +0000
committerBenny Prijono <bennylp@teluu.com>2009-01-05 15:31:25 +0000
commit0b9793127b2bd7a682817f0d172879cfca9999d6 (patch)
treead2cc7a986581b14589c33411121019d935f790d
parentf7921690688607ff04f848457891f710935c744b (diff)
-
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2417 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--tests/pjsua/mod_pesq.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pjsua/mod_pesq.py b/tests/pjsua/mod_pesq.py
index 063c8842..272d0715 100644
--- a/tests/pjsua/mod_pesq.py
+++ b/tests/pjsua/mod_pesq.py
@@ -12,6 +12,7 @@
import time
import imp
+import os
import sys
import re
import subprocess
@@ -123,7 +124,7 @@ def post_func(t):
endpt = t.process[0]
# Execute PESQ
- fullcmd = PESQ + " " + pesq_sample_rate_opt + " " + input_filename + " " + output_filename
+ fullcmd = os.path.normpath(PESQ) + " " + pesq_sample_rate_opt + " " + input_filename + " " + output_filename
endpt.trace("Popen " + fullcmd)
pesq_proc = subprocess.Popen(fullcmd, shell=True, stdout=subprocess.PIPE, universal_newlines=True)
pesq_out = pesq_proc.communicate()