BASE: use tool to call popen.pipe2

bzr revid: ced-f19acd52a164c8da3d7139799a3e4bfa458ce018
This commit is contained in:
ced 2007-03-14 16:13:13 +00:00
parent 93cb247b51
commit 414e265dcc
1 changed files with 2 additions and 1 deletions

View File

@ -143,7 +143,8 @@ class report_graph_instance(object):
1.5 inch 15 inch moveto
(No workflow available) show
showpage'''
input, output = os.popen2('ps2pdf -sPAPERSIZE=a4 - -')
args = ('ps2pdf', '-sPAPERSIZE=a4', '-', '-')
input, output = tools.exec_pg_command_pipe(*args)
input.write(ps_string)
input.close()
self.result = output.read()