diff --git a/news/changelog-1.6.md b/news/changelog-1.6.md index 1743764ed19..1a4432acb99 100644 --- a/news/changelog-1.6.md +++ b/news/changelog-1.6.md @@ -102,6 +102,7 @@ All changes included in 1.6: - Upgrade `mermaidjs` to 11.2.0. - Upgrade Pandoc to 3.4. - Upgrade `deno` to 1.46.3. +- ([#2699])(https://github.com/quarto-dev/quarto-cli/issues/2699)): Respect input/output streams in `quarto pandoc`. - ([#10162](https://github.com/quarto-dev/quarto-cli/issues/10162)): Use Edge on `macOS` as a Chromium browser when available. - ([#10235](https://github.com/quarto-dev/quarto-cli/issues/10235)): Configure the CI schedule trigger to activate exclusively for the upstream repository. - ([#10295](https://github.com/quarto-dev/quarto-cli/issues/10235)): Fix regression to return error status to shell when `CommandError` is thrown. diff --git a/src/quarto.ts b/src/quarto.ts index 76411af26aa..5d6384ca0f4 100644 --- a/src/quarto.ts +++ b/src/quarto.ts @@ -68,10 +68,16 @@ export async function quarto( // passthrough to pandoc if (args[0] === "pandoc" && args[1] !== "help") { - const result = await execProcess({ - cmd: [pandocBinaryPath(), ...args.slice(1)], - env, - }); + const result = await execProcess( + { + cmd: [pandocBinaryPath(), ...args.slice(1)], + env, + }, + undefined, + undefined, + undefined, + true, + ); Deno.exit(result.code); }