Am 09.06.2015 um 11:03 schrieb Guenter Milde:

The problem with the current code is this line:

ac_word = ac_prog.split(' ')[0]

Not, if you separate path and program call, e.g.

    (path, ac_prog) = os.path.split("path to\binary of\inkscape --help")

would result in:

    program call  ac_prog = "inkscape --help"
    path            path = "path to\binary of"

(`os.path.split` returns a tuple "(head, tail)" where "tail" is
everything after the final slash.)

Thanks Günther,

could you please do me the favor and make a new patch out of mine? I'm not good in python but then I get your idea correctly, can test it and maybe fine-tune it for Windows.

many thanks and regards
Uwe

Reply via email to