Re: IDLE issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriel Genellina

    #1

    Re: IDLE issue

    En Wed, 20 Aug 2008 04:56:32 -0300, aditya shukla
    <adityashukla19 83@gmail.comesc ribi�:
    I found something interesting while working in idle.I have windows vista
    and
    python2.5
    >
    if i do
    import subprocess
    proc
    =subprocess.Pop en('cmd.exe',st din=subprocess. PIPE,stdout=sub process.PIPE)
    output = proc.communicat e('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

Working...