Skip to content

Commit 50bed53

Browse files
committed
quarto pandoc - respect io streams
1 parent ce7182e commit 50bed53

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/quarto.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,16 @@ export async function quarto(
6868

6969
// passthrough to pandoc
7070
if (args[0] === "pandoc" && args[1] !== "help") {
71-
const result = await execProcess({
72-
cmd: [pandocBinaryPath(), ...args.slice(1)],
73-
env,
74-
});
71+
const result = await execProcess(
72+
{
73+
cmd: [pandocBinaryPath(), ...args.slice(1)],
74+
env,
75+
},
76+
undefined,
77+
undefined,
78+
undefined,
79+
true,
80+
);
7581
Deno.exit(result.code);
7682
}
7783

0 commit comments

Comments
 (0)