Quote:
Originally Posted by chaley
Why not start calibre in a batch file? When it exits, you can do whatever you want.
Note that if you are on windows, there are some issues with using calibre in batch files. You need to use the START command. There was a thread around a month ago that went into detail. I always start calibre with the calibre-debug command and don't have problems, but your mileage might vary.
|
If you start calibre with a simple command line in the batch file (like you, I do that with "calibre-debug - g" when working on the source) it won't run the next line in the batch, for the reason you mentioned - Calibre has trouble with batch files.
If you put "start" in front, it runs calibre and the next line in the batch, but it runs the next line immediately, not after Calibre exits.
I believe this will work if you install powershell:
Code:
powershell -command - < batchfile.bat
but it's probably easier to use one of the other methods.