Forum How do I...?

prince process does not always stop after generating PDF

pieter.lamers
Sometimes the process does not close after the PDF is created.
Is there anything I can do about this?

context: windows, prince 15.3 (and earlier) run from commandline to convert a disk HTML document. It does not consistently happen with the same files.
mikeday
So the PDF is created and is complete, but the process keeps running without doing anything?
pieter.lamers
Exactly. Also, no standard output/error is produced.
pieter.lamers
We enabled logging now using --log and this seems to help.
pieter.lamers
Mike, to recapitulate: when there is no --log flag, prince will sometimes not finish nor report to stdout. with the flag added to the command line we have no problems. absence or presence of the --verbose flag has no effect.
mikeday
Is Prince being run manually from the command line or invoked by another program?
pieter.lamers
We use Apache ANT to start the process (in this case). We've had similar issues when running `process:execute` from eXist-db in the past.
mikeday
If you see similar issues when running the latest builds, perhaps you could right click on the process in Task Manager and click "Create dump file" and email me (mikeday@yeslogic.com) the resulting file?