Re: Doubts related to subprocess.Popen()

2009-01-20 Thread Mark Wooding
"Diez B. Roggisch" writes: > Usually, each new process has three file-descriptors associated with > it - stdin,stdout and stderr. > > So when you span a process, the overall count of FDs should increase > by three. Yes, but that's irrelevant. There are two file limits which are relevant: * t

Re: Doubts related to subprocess.Popen()

2009-01-20 Thread Jeff McNeil
descriptor table. B'cos if i create more than 200 subprocesses, > i am getting 'Too many open files' error. > > Thanks, > Srini > > - Original Message > From: Mark Wooding > To: python-l...@python.org > Sent: Tuesday, 20 January, 2009 6

Re: Doubts related to subprocess.Popen()

2009-01-20 Thread Philip Semanchuk
- Original Message From: Mark Wooding To: python-list@python.org Sent: Tuesday, 20 January, 2009 6:16:17 PM Subject: Re: Doubts related to subprocess.Popen() srinivasan srinivas writes: Does subprocess.Popen() count a new open file for each suprocess? I mean does it occup

Re: Doubts related to subprocess.Popen()

2009-01-20 Thread srinivasan srinivas
am getting 'Too many open files' error. Thanks, Srini - Original Message From: Mark Wooding To: python-list@python.org Sent: Tuesday, 20 January, 2009 6:16:17 PM Subject: Re: Doubts related to subprocess.Popen() srinivasan srinivas writes: > Does subprocess.Popen() count a

Re: Doubts related to subprocess.Popen()

2009-01-20 Thread Mark Wooding
srinivasan srinivas writes: > Does subprocess.Popen() count a new open file for each suprocess? I > mean does it occupy an entry in file descriptor table of parent > process? If so, wat is each file descriptor connected to? On Unix, subprocess.Popen will use up a file descriptor in the parent f

Re: Doubts related to subprocess.Popen()

2009-01-20 Thread Diez B. Roggisch
srinivasan srinivas wrote: > Hi, > Does subprocess.Popen() count a new open file for each suprocess? I mean > does it occupy an entry in file descriptor table of parent process? If so, > wat is each file descriptor connected to? Usually, each new process has three file-descriptors associated with

Doubts related to subprocess.Popen()

2009-01-20 Thread srinivasan srinivas
Hi, Does subprocess.Popen() count a new open file for each suprocess? I mean does it occupy an entry in file descriptor table of parent process? If so, wat is each file descriptor connected to? Thanks, Srini Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/i