View Single Post
Old 06-21-2012, 06:40 AM   #9
NotTaken
Connoisseur
NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.
 
Posts: 65
Karma: 4640
Join Date: Aug 2011
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
You should use calibre's bundled facilities for this kind of thing. Instead of subprocess use

fork_job() from calibre.utils.ipc.simple_worker

and instead of spynner use the jsbrowser module from calibre. Note that jsbrowser isn't quite complete, but it should probably work for this basic task.
Thanks. I'll look into that.
NotTaken is offline   Reply With Quote