By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,171 Members | 776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,171 IT Pros & Developers. It's quick & easy.

PIPE stderr

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.