Hi Matt. My apologies, I was away a good part of the day and evening
today. Here are the numbers for the different methods:
original os.system call: 29.685759 s
buffered stdout call:213.370982 s (with 1mb buffer)
direct to stdout call:33.378756 s
The second method worked great and is e
Hi Matt. Many thanks. Sorry I had not seen your second post. I'll give
this a try and time the completion to compare the differences and post
back later today to show os.system, buffered imput and using a file
directly for stdout.
Regards,
David
Matt Nordhoff wrote:
> David Pratt wrote:
>> Hi
David Pratt wrote:
> Hi David and Matt. I appreciate your help which has got me moving
> forward again so many thanks for your reply. I have been using
> subprocess.Popen a fair bit but this was the first time I had to use
> subprocess to capture large file output. The trouble I was having was
> wi
>> David Pratt wrote:
>>> Hi. I am trying to replace a system call with a subprocess call. I have
>>> tried subprocess.Popen and subprocess.call with but have not been
>>> successful. The command line would be:
>>>
>>> svnadmin dump /my/repository > svndump.db
En Mon, 07 Apr 2008 10:38:47 -0300, D
Hi David and Matt. I appreciate your help which has got me moving
forward again so many thanks for your reply. I have been using
subprocess.Popen a fair bit but this was the first time I had to use
subprocess to capture large file output. The trouble I was having was
with the process would just
Matt Nordhoff wrote:
> David Pratt wrote:
>> Hi. I am trying to replace a system call with a subprocess call. I have
>> tried subprocess.Popen and subprocess.call with but have not been
>> successful. The command line would be:
>>
>> svnadmin dump /my/repository > svndump.db
>>
>> This is what I
David Pratt wrote:
> Hi. I am trying to replace a system call with a subprocess call. I have
> tried subprocess.Popen and subprocess.call with but have not been
> successful. The command line would be:
>
> svnadmin dump /my/repository > svndump.db
>
> This is what I am using currently:
>
> os.
On 07/04/2008, David Harrison <[EMAIL PROTECTED]> wrote:
> On 07/04/2008, David Pratt <[EMAIL PROTECTED]> wrote:
> > Hi. I am trying to replace a system call with a subprocess call. I have
> > tried subprocess.Popen and subprocess.call with but have not been
> > successful. The command line wo
On 07/04/2008, David Pratt <[EMAIL PROTECTED]> wrote:
> Hi. I am trying to replace a system call with a subprocess call. I have
> tried subprocess.Popen and subprocess.call with but have not been
> successful. The command line would be:
>
> svnadmin dump /my/repository > svndump.db
>
> This is