mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
429 B
17 lines
429 B
13 years ago
|
console.error('before opening stdin');
|
||
13 years ago
|
process.stdin.resume();
|
||
13 years ago
|
console.error('stdin opened');
|
||
13 years ago
|
setTimeout(function() {
|
||
13 years ago
|
console.error('pausing stdin');
|
||
13 years ago
|
process.stdin.pause();
|
||
|
setTimeout(function() {
|
||
13 years ago
|
console.error('opening again');
|
||
13 years ago
|
process.stdin.resume();
|
||
|
setTimeout(function() {
|
||
13 years ago
|
console.error('pausing again');
|
||
13 years ago
|
process.stdin.pause();
|
||
13 years ago
|
console.error('should exit now');
|
||
13 years ago
|
}, 1);
|
||
|
}, 1);
|
||
|
}, 1);
|