Skip to content

Commit

Permalink
fix(core): disable pty on windows until stable (nrwl#22910)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Apr 19, 2024
1 parent 2f3bc2b commit 9a0b70d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/nx/src/tasks-runner/pseudo-terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@ function supportedPtyPlatform() {
return true;
}

// TODO: Re-enable Windows support when it's stable
// Currently, there's an issue with control chars.
// See: https://github.com/nrwl/nx/issues/22358
if (process.env.NX_WINDOWS_PTY_SUPPORT !== 'true') {
return false;
}

let windowsVersion = os.release().split('.');
let windowsBuild = windowsVersion[2];

Expand Down

0 comments on commit 9a0b70d

Please sign in to comment.