How do subprocess.Popen("ls | grep foo", shell=True) with shell=False?

Steven W. Orr steveo at syslang.net
Thu Jun 10 22:11:45 EDT 2010


On 6/10/2010 11:40 AM, Chris Seberino wrote:

> Even if zombies are created, they will eventually get dealt with my OS
> w/o any user intervention needed right?

Bad approach. Years ago I inherited a server that didn't do a proper cleanup pf 
its slaves. After a few days running, people discovered that the machine 
performance was seriously degrading. I was called in and found that there were 
around 10,000 defunct processes (not zombies).

Remember boys and girls. Neatness counts.

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



More information about the Python-list mailing list