[Pythonmac-SIG] Safe way to launch command-line app from python?

Joachim Mårtensson joachimm at etek.chalmers.se
Sun Jun 5 20:56:21 CEST 2005


Hello
I want to launch emacs/vi from within python (Pyobjc to be more 
specific), and I want the editor to open a file. however I do not have 
complete control over which file will be launched (the user chooses from 
a tableview), since filenames can contain all kinds of charachters I am 
a little worried over how to accomplish this in a safe way.
Any suggestions?

Thanks in Advance.

Joachim Mårtensson


More information about the Pythonmac-SIG mailing list