PIPE stderr
- From: "Mathieu Prevot" <mathieu.prevot@xxxxxx>
- Date: Sat, 24 May 2008 15:18:47 +0200
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 2> file
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
.
- Prev by Date: Re: unittest: Calling tests in liner number order
- Next by Date: Re: unittest: Calling tests in liner number order
- Previous by thread: Code correctness, and testing strategies
- Next by thread: need some help in serving static files inside a wsgi apps
- Index(es):