[PyQt] QProcess arguments list problem

kib2 kib2 at free.fr
Wed Nov 21 18:53:45 GMT 2007


I'm using QProcess to launch some commands, no problem with basic ones, 
ie to launch a LaTeX file with pdflatex I use:

self.proc.start("pdflatex", QtCore.QStringList(["my_file.tex"]))

Now, I wanted to launch the following command :

"lout my_file.lout > my_file.ps"

I've made these tries but they all failed :

1. self.proc.start("lout", 

2. self.proc.start("lout", QtCore.QStringList(["my_file.lout"," > 

Any idea ?
Thanks a lot in advance.

More information about the PyQt mailing list