Pb subprocess

Méta-MCI enleverlesX.XmcX at XmclaveauX.com
Fri Nov 17 22:38:49 CET 2006


Hi!


This code :
    p=subprocess.Popen(chaine, shell=True, stdout=subprocess.PIPE, 
stdin=subprocess.PIPE,  stderr=subprocess.PIPE)
    data=p.stdout.read()

Run OK, except when stdout.read() give unicode data, with char>255 (this 
give many "?")

How read real unicode data in stdout.read() ?


Thanks for all anwers


Michel Claveau








More information about the Python-list mailing list