Actually, I use Popen from subprocess. I don't know why I have written os.popen :)
Regards
Pierre

Le 17/02/2013 10:14, Chris Rebert a écrit :

On Feb 17, 2013 1:05 AM, "Pierre Ratinaud" <ratin...@univ-tlse2.fr <mailto:ratin...@univ-tlse2.fr>> wrote:
>
> Hi all,
> I have create a .app with py2app for a wxpython application. The resulting app does not work as expected if I double click on it (it works but somewhere in the process, an encoding problem appear from another program called with os.popen). This problem does not occur if I launch my app directly with python, it does not occur if I launch the app by double-clic on myapp inside the .app and it does not occur if I open the .app from a terminal with the "open" command. > This is happening with python 2.7.2, wxpython2.9, py2app 0.7.3 under Mac OS X 10.6.8.

Not an answer to your direct problem, but: os.popen() is quasi-deprecated. You should use the `subprocess` module instead.

Cheers,
Chris

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to