diff --git a/src-py/renatoxsr/utils/pandoc.py b/src-py/renatoxsr/utils/pandoc.py index 8622373..cab5035 100644 --- a/src-py/renatoxsr/utils/pandoc.py +++ b/src-py/renatoxsr/utils/pandoc.py @@ -34,7 +34,7 @@ def pandoc( "--output", "-" if output=="-" else outf.resolve(), "--write", to, fpath] logger.debug("CMD %s", str(cmd)) - proc = subprocess.run(cmd, text=True) + proc = subprocess.run(cmd, capture_output=True, text=True) if proc.stderr: logger.error(proc.stderr)