Comment 4 for bug 1013140

Revision history for this message
Hannes Hochreiner (hannes-hochreiner) wrote :

Going by my experience and the python documentation, I think that the brackets don't matter in this case. True, they are not necessary, but as I understand it they don't do any harm. I would guess they are left over from test with separating the arguments. For documentation on the subprocess.Popen command please refer to:

http://docs.python.org/dev/library/subprocess#subprocess.Popen

As for the path, if relative paths work they are definitely preferable. I don't have a Windows box to test that out. I would guess the Inkscape package you have was prepared for 64 bit Windows with Inkscape installed as a 32 bit application. In this case the path would look reasonable (although I can't say whether it is correct or not).

My suggestion would be to use the relative path you posted in addition to the absolute paths already in the script. Do you think that's a reasonable solution?