Is there a limit to os.popen()?
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Wed Jul 12 03:17:09 EDT 2006
In article <mailman.8047.1152659908.27775.python-list at python.org>,
"Carl J. Van Arsdall" <cvanarsdall at mvista.com> wrote:
>Lawrence D'Oliveiro wrote:
>> In article <mailman.8046.1152654954.27775.python-list at python.org>,
>> "Carl J. Van Arsdall" <cvanarsdall at mvista.com> wrote:
>>
>>
>>> Well, running the make on the command line seems to work just fine, no
>>> errors at all.
>>>
>>
>> What about running it as
>>
>> make kernelrelease | cat
>>
>> This way the output goes to a pipe, which is what happens when it's
>> called from your script. Do you see those "broken pipe" messages after a
>> few minutes in this case?
>>
>Alright, so I tried that line in the interpreter and got the same
>problem.
No, I wanted you to try it from a bash command prompt, to try to
simulate the environment when the make command on its own is invoked via
popen.
More information about the Python-list
mailing list