Le mardi 14 avril 2009 à 16:18 +0200, Vincent Danjean a écrit :
> Josselin Mouette wrote:
> > I’m interested to know if you can reproduce this behavior in a
> > standalone python shell.
>
> Here is:
> >>> pids=os.popen('pidof gconfd-2').readlines()[0].split()
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> OSError: [Errno 9] Bad file descriptor
> >>> quitMaybe you could see with strace why the popen is returning EBADF. I can’t reproduce it on my systems, regardless of the command I pass. -- .''`. Debian 5.0 "Lenny" has been released! : :' : `. `' Last night, Darth Vader came down from planet Vulcan and told `- me that if you don't install Lenny, he'd melt your brain.
signature.asc
Description: Ceci est une partie de message numériquement signée

