Hello! How value of -script parameter looks like? It is a regular file, pipe, or some other special object?
I cannot reproduce this issue with regular files, but BufferedInputStream, unfortunately, may fail if underlying InputStream thrown exceptions from its available() method. Maybe H2 should use BufferedReader over InputStreamReader over InputStream instead of InputStreamReader over BufferedInputStream over InputStream. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/2069e154-c8d3-4fb7-a3f4-9c9fbd267d19n%40googlegroups.com.