Skip to content

quarto embedded pandoc stdout redirected to stderrΒ #2699

@castedo

Description

@castedo

Bug description

The stdout of the embedded pandoc is getting redirected to stderr. For example:

quarto pandoc --version 2> /dev/null

outputs nothing (2> redirects stderr) but

pandoc --version 2> /dev/null

does output the version message.

This holds for other outputs of pandoc to stdout.

I am not directly affected by this, but I can imagine some piping scenarios where this could be pretty annoying.

VERSION:

$ quarto --version
1.1.251
$ cat /etc/os-release 
NAME="Fedora Linux"
VERSION="36 (Container Image)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Container Image)"

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions