Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-stdin-pause-resume-sync.js « parallel « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c0f41e92de5adbdecfa091580a499493d5da775c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';
require('../common');
console.error('before opening stdin');
process.stdin.resume();
console.error('stdin opened');
console.error('pausing stdin');
process.stdin.pause();
console.error('opening again');
process.stdin.resume();
console.error('pausing again');
process.stdin.pause();
console.error('should exit now');