En Wed, 20 Aug 2008 04:56:32 -0300, aditya shukla <[EMAIL PROTECTED]> escribi�:

I found something interesting while working in idle.I have windows vista and
python2.5

if i do
import subprocess
proc
=subprocess.Popen('cmd.exe',stdin=subprocess.PIPE,stdout=subprocess.PIPE)
output = proc.communicate('dir\n')[0]
print repr(output)

This dosen't work in idle

Works fine for me, using Windows XP
If you're pasting those lines directly over the shell window, beware of this bug: http://bugs.python.org/issue3559

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list
  • IDLE issue aditya shukla
    • Re: IDLE issue Gabriel Genellina

Reply via email to