mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix hanging on pdftohtml in windows.
This commit is contained in:
parent
9abbcf6875
commit
901a41389a
@ -43,8 +43,8 @@ def generate_html(pathtopdf, logger):
|
||||
os.chdir(os.path.dirname(pf.name))
|
||||
p = subprocess.Popen(cmd, shell=True, stderr=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE)
|
||||
ret = p.wait()
|
||||
logger.info(p.stdout.read())
|
||||
ret = p.wait()
|
||||
if ret != 0:
|
||||
err = p.stderr.read()
|
||||
raise ConversionError, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user