Calibre CLI act oddly in Windows Batch
I've had an odd experience running the Calibre CLI in a bat file on Windows 10.
The file has three lines:
1. shut down running instances of Calibre ("calibre.exe --shutdown-running-calibre"
2. create a new catalog
3. restart Calibre in the tray ("calibre.exe --start-in-tray" ).
The batch file works as expected but it doesn't terminate: the last command
"calibre.exe --start-in-tray" runs and the window batch window stays open--the batch file never gets to the final line ("pause" or "exit").
It does this whether or not the "--start-in-tray" flag is present.
As I said, this doesn't mess up what I'm trying to do, but it seems to be the wrong behavior for a bat file.
Am I missing something?
|