Comment 12 for bug 551433

Krzysztof Kosinski (tweenk) wrote :

How about this solution to the "spawning Inkscape from Python" problem?
1. When started, get argv[0]
2. If it's not an absolute path, resolve it relative to the working directory
3. if such a file exists, add the basedir of the resolved name to PATH