Is there a limit to os.popen()?

sreekant skodela at lithium.com
Tue Jul 11 19:30:33 EDT 2006


> kr = string.strip(os.popen('make kernelrelease').read())

If make is being executed, I presume that the python script has rw 
access to the location. How about

x=os.system("make kernelrelease > my_report 2>&1 ")
kr=open("my_report").read()


Just a blind throw.

Good luck
sree



More information about the Python-list mailing list