Quote:
Originally Posted by mbovenka
Yes, the first invocation in the batch file runs OK. It doesn't show any errors and the resulting output file is fine as well. It just exits the entire batch file when it's done.
I don't know what the exit code is; I'll try to find out when I'm home this evening.
|
I'm doing some batch work too and noticed the same problem.
Running, it looks like, any calibre executable inside a batchfile wrecks havoc on all commands following it. For example the following demonstrates this.
- open a command prompt where you have test.bat download
- run test.bat from the command prompt, calibredb should be in your PATH
- notice that the 'pause' is never executed!
- even stranger, restart the test.bat without closing the command prompt
- notice what happens or the lack thereof
Regards,
Joop