BASE: use tool to call popen.pipe2
bzr revid: ced-f19acd52a164c8da3d7139799a3e4bfa458ce018
This commit is contained in:
parent
93cb247b51
commit
414e265dcc
|
@ -143,7 +143,8 @@ class report_graph_instance(object):
|
||||||
1.5 inch 15 inch moveto
|
1.5 inch 15 inch moveto
|
||||||
(No workflow available) show
|
(No workflow available) show
|
||||||
showpage'''
|
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.write(ps_string)
|
||||||
input.close()
|
input.close()
|
||||||
self.result = output.read()
|
self.result = output.read()
|
||||||
|
|
Loading…
Reference in New Issue