View Single Post
Old 01-25-2012, 09:17 AM   #102
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Hi kintrupf, welcome to MobileRead.

The path that you would need to specify would be "%ProgramFiles%\Sigil\Sigil.exe" (i.e. without the C:\ in front of it).

I am not at home to try it myself but my guess is that it still won't work, because in the plugin code my call to subprocess.Popen() does not do anything specifically for environment variable expansion. Perhaps Kovid or chaley may have a suggestion for this - is it safe to use "shell=True" for this purpose or should I do something else...
kiwidude is offline   Reply With Quote