2015-05-19 19:00:06 +08:00
|
|
|
'use strict';
|
2011-12-06 09:52:22 +08:00
|
|
|
// This tests that pausing and resuming stdin does not hang and timeout
|
|
|
|
// when done in a child process. See test/simple/test-stdin-pause-resume.js
|
2012-02-20 20:22:12 +08:00
|
|
|
var common = require('../common');
|
2011-12-06 09:52:22 +08:00
|
|
|
var child_process = require('child_process');
|
|
|
|
var path = require('path');
|
|
|
|
child_process.spawn(process.execPath,
|
2012-01-18 03:16:49 +08:00
|
|
|
[path.resolve(__dirname, 'test-stdin-pause-resume.js')]);
|