MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / cleanupWindowsSignals

Function cleanupWindowsSignals

lib/utilities/will-interrupt-process.js:175–181  ·  view source on GitHub ↗
(_process)

Source from the content-addressed store, hash-verified

173}
174
175function cleanupWindowsSignals(_process) {
176 const stdin = _process.stdin;
177
178 stdin.setRawMode(originalIsRaw);
179
180 stdin.removeListener('data', windowsCtrlCTrap);
181}
182
183function isWindowsTTY(_process) {
184 return /^win/.test(_process.platform) && _process.stdin && _process.stdin.isTTY;

Callers 1

teardownSignalsTrapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…