subprocess call is not waiting.

Hans Mulder hansmu at xs4all.nl
Wed Sep 19 13:31:59 EDT 2012


On 19/09/12 18:34:58, andrea crotti wrote:
> 2012/9/19 Hans Mulder <hansmu at xs4all.nl>:
>> Yes: using "top" is an observation problem.
>>
>> "Top", as the name suggests, shows only the most active processes.
> 
> Sure but "ls -lR /" is a very active process if you try to run it..

Not necessarily:

>> It's quite possible that your 'ls' process is not active because
>> it's waiting for your Python process to read some data from the pipe.

Hope this helps,

-- HansM




More information about the Python-list mailing list