On 6 mei, 18:36, Inca <[EMAIL PROTECTED]> wrote:
> If Python is installed to a path that has spaces, hook-xml.py in
> PyInstaller produces an error when trying to run it.
>
> Line 27 of hooks/hook-xml.py should be changed from:
> os.system('%s -c "import xml;print xml.__file__" >"%s"' % (exe, fnm))
>
> To:
> os.system('\'%s\' -c "import xml;print xml.__file__" >"%s"' % (exe,
> fnm))

On win32 this also doesn't work for me.
I need to doublequote the whole command for it to work.

os.system('"%s -c "import xml;print xml.__file__" >"%s""' % (exe,
fnm))


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to