Running into problems with os.popen

Jp Calderone exarkun at intarweb.us
Wed Mar 19 19:18:55 EST 2003


On Wed, Mar 19, 2003 at 05:44:41PM -0600, Stephen Boulet wrote:
> I was using a structure like:
> 
> [snip - usage of os.popen]
> 
> but then my string is truncated. Anyone know what's going on?
> 

  Not a clue.  Maybe it has to do with the particulars of what "command" is. 
In the absense of any specific answer, here's a general one: try
commands.getoutput()

  Jp

-- 
http://catandgirl.com/view.cgi?90
-- 
 up 16 days, 16:00, 8 users, load average: 2.10, 2.04, 1.54





More information about the Python-list mailing list