View Single Post
Old 05-28-2008, 02:40 PM   #7
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
No, the process object is completely platform neutral. My thought was to create a small windows executable (i.e. a non-console app) that would be the exe actually launched and then it in turn would launch web2lrf.exe with the hidden console window. The plugin can include binaries. I need to check if instead I could invoke a method on a dll.

Great, then for Darwin/OS-X I can just launch /usr/bin/open as the exe and then add the path to calibre and the lrf file as arguments.

I hate putting platform specific code into the plugin but it looks like it I might have no choice.
beowulf573 is offline   Reply With Quote