psaff...@googlemail.com wrote:
On 12 Jan, 15:33, mk wrote:
Better use communicate() method:
Oh yes - it's right there in the documentation. That worked perfectly.
What's also in the docs and I did not pay attention to before:
Note
The data read is buffered in memory, so do not use this m
On 12 Jan, 15:33, mk wrote:
>
> Better use communicate() method:
>
Oh yes - it's right there in the documentation. That worked perfectly.
Many thanks,
Peter
--
http://mail.python.org/mailman/listinfo/python-list
psaff...@googlemail.com wrote:
p = Popen(cmd, shell=True, bufsize=100, stdout=PIPE, stderr=PIPE)
output = p.stdout.read()
Better use communicate() method:
standardoutputstr, standarderrorstr = subprocess.communicate(...)
Never had any problem with subprocesses when using subprocess module in
On Mon, 12 Jan 2009 06:37:35 -0800 (PST), "psaff...@googlemail.com"
wrote:
I'm building a bioinformatics application using the ipcress tool:
http://www.ebi.ac.uk/~guy/exonerate/ipcress.man.html
I'm using subprocess.Popen to execute ipcress, which takes a group of
files full of DNA sequences a
I'm building a bioinformatics application using the ipcress tool:
http://www.ebi.ac.uk/~guy/exonerate/ipcress.man.html
I'm using subprocess.Popen to execute ipcress, which takes a group of
files full of DNA sequences and returns some analysis on them. Here's
a code fragment:
cmd = "/usr/bin/ipcr