Atualizar src-py/renatoxsr/utils/pandoc.py
This commit is contained in:
@@ -34,7 +34,7 @@ def pandoc(
|
|||||||
"--output", "-" if output=="-" else outf.resolve(),
|
"--output", "-" if output=="-" else outf.resolve(),
|
||||||
"--write", to, fpath]
|
"--write", to, fpath]
|
||||||
logger.debug("CMD %s", str(cmd))
|
logger.debug("CMD %s", str(cmd))
|
||||||
proc = subprocess.run(cmd, text=True)
|
proc = subprocess.run(cmd, capture_output=True, text=True)
|
||||||
|
|
||||||
if proc.stderr:
|
if proc.stderr:
|
||||||
logger.error(proc.stderr)
|
logger.error(proc.stderr)
|
||||||
|
|||||||
Reference in New Issue
Block a user