node/test/sequential/test-stdin-child-proc.js

8 lines
374 B
JavaScript
Raw Normal View History

// 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');
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')]);