Mark Summerfield a écrit :
I think PyQt is nice enough to accept a Python list here. Also, I don't
think you can use a shell redirection (>) like this, so I'd try:
self.proc.start("lout", ["-o", "my_file.ps", "my_file.lout"])
Thanks Mark, this is exactly what I was looking for.
If you
On 2007-11-21, kib2 wrote:
> Hi,
>
> 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.lo
Ingmar Steen a écrit :
Hi,
That won't work because the '>' (redirect) you use in a shell
environment doesn't 'magically' work. The shell (bash, ksh, etc)
performs the job of capturing the child process' 'stdout' (the regular
output of the process) and redirects it to a file.
To achieve that
On Nov 21, 2007 7:53 PM, kib2 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 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