468,293 Members | 1,874 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,293 developers. It's quick & easy.

PIPE stderr

Hi again,

I don't have the same ouptput between 1) and 2) ... what's happening ?

1)
wget http://www.youtube.com/v/A8bwZf3vXjg -O /dev/null 2file

2)
k = Popen (["wget", "http://www.youtube.com/v/A8bwZf3vXjg", "-O", "/dev/null"],
stderr=PIPE)
print k.stderr

In the case 2) I got:

open file '<fdopen>', mode 'rb' at 0x5a608>

and I want what I get in file from 1) ... how to do this ?

Mathieu
Jun 27 '08 #1
0 649

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by momena | last post: by
5 posts views Thread by richard | last post: by
7 posts views Thread by Greg | last post: by
2 posts views Thread by David | last post: by
4 posts views Thread by Bart | last post: by
3 posts views Thread by Jeremy Sanders | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.