Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ export function spawnInteractive(
const { args, options } = config;
const file = config.file;

const writable = process.stdin.writable;

// Generally want interactive input for handling various prompts; however,
// also need to be able to write specific responses, so create a pipe if not normally possible.
options.stdio = [writable ? "inherit" : "pipe", "pipe", "pipe"];
// Input and output is processed and modified by the caller.
options.stdio = "pipe";

logger.trace(
`Spawning process with file=${file}, args=${
Expand Down
Loading