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.
16 lines
391 B
16 lines
391 B
13 years ago
|
var common = require('../common');
|
||
|
var assert = require('assert');
|
||
|
var spawn = require('child_process').spawn;
|
||
|
|
||
|
var options = {stdio: ['pipe']};
|
||
|
var child = common.spawnPwd(options);
|
||
|
|
||
|
assert.notEqual(child.stdout, null);
|
||
|
assert.notEqual(child.stderr, null);
|
||
|
|
||
|
options = {stdio: 'ignore'};
|
||
|
child = common.spawnPwd(options);
|
||
|
|
||
|
assert.equal(child.stdout, null);
|
||
|
assert.equal(child.stderr, null);
|