- dv2dt_stdin, dv2dt_stdout, dv2dt_stderr = \
- os.popen3(dv2dt_call, 't')
+ dv2dt_pipe = subprocess.Popen(dv2dt_call, universal_newlines=True, \
+ stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, \
+ shell=unix, close_fds=unix)
+ (dv2dt_stdin, dv2dt_stdout, dv2dt_stderr) = \
+ (dv2dt_pipe.stdin, dv2dt_pipe.stdout, dv2dt_pipe.stderr)