Ignore:
Timestamp:
Jun 26, 2008 8:23:47 PM (16 years ago)
Author:
bennylp
Message:

Added option to disable stdout buffering in pjsua, and adjust the python tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/test-pjsua/run.py

    r2062 r2067  
    6060                self.echo = inst_param.echo_enabled 
    6161                self.trace_enabled = inst_param.trace_enabled 
    62                 fullcmd = G_EXE + " " + inst_param.arg + " --stdout-refresh=5 --stdout-refresh-text=" + const.STDOUT_REFRESH 
     62                fullcmd = G_EXE + " " + inst_param.arg + " --stdout-no-buf --stdout-refresh=5 --stdout-refresh-text=" + const.STDOUT_REFRESH 
    6363                self.trace("Popen " + fullcmd) 
    6464                self.proc = subprocess.Popen(fullcmd, shell=G_INUNIX, bufsize=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE, universal_newlines=False) 
Note: See TracChangeset for help on using the changeset viewer.