En Tue, 06 Oct 2009 11:24:23 -0300, MRAB
escribió:
Gabriel Genellina wrote:
En Sat, 03 Oct 2009 21:53:12 -0300, Andrew Savige
escribió:
When I run this little test program on Linux:
import subprocess
subprocess.call(["python","-V"], stderr=open("log.tmp","a"))
the file log.tmp is appe
Gabriel Genellina wrote:
En Sat, 03 Oct 2009 21:53:12 -0300, Andrew Savige
escribió:
When I run this little test program on Linux:
import subprocess
subprocess.call(["python","-V"], stderr=open("log.tmp","a"))
the file log.tmp is appended to each time I run it.
When I run it on Windows, how
En Sat, 03 Oct 2009 21:53:12 -0300, Andrew Savige
escribió:
When I run this little test program on Linux:
import subprocess
subprocess.call(["python","-V"], stderr=open("log.tmp","a"))
the file log.tmp is appended to each time I run it.
When I run it on Windows, however, the file log.tmp ge
gabrielmonnerat wrote:
>> I am using subprocess because I need store the pid. Any suggestions?
> Sorry, I was forgot the parameter shell=True.
> i.e
> In [20]: subprocess.call('DISPLAY=:99
> /opt/ooo-dev3/program/soffice.bin',shell=True)
You should avoid using the shell=True parameter. It may resu
gabrielmonnerat wrote:
Hi all,
I need start a openoffice in Xvfb, but when I call with the DISPLAY
occurs this error:
[r...@localhost oood]# Xvfb :99 -screen 0 1024x768x24 &
In [9]: subprocess.call('/opt/ooo-dev3/program/soffice.bin')
Out[9]: 0
In [10]: subprocess.call('DISPLAY=:99 /opt/ooo
On Mar 12, 12:58 pm, Ningyu Shi <[EMAIL PROTECTED]> wrote:
> I'm trying to write a multi-task downloader to download files from a
> website using multi-threading. I have one thread to analyze the
> webpage, get the addresses of the files to be downloaded and put these
> in a Queue. Then the main th