Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup
  • Loading branch information
Trott committed Oct 29, 2015
commit b904c2f00ed09e61548c61efcf0068e7598ed266
4 changes: 2 additions & 2 deletions test/parallel/test-child-process-send-returns-boolean.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const n = fork(emptyFile);
const rv = n.send({ hello: 'world' });
assert.strictEqual(rv, true);

const s = spawn(process.execPath, [emptyFile],
{ stdio: ['pipe', 'pipe', 'pipe', 'ipc'] });
const spawnOptions = { stdio: ['pipe', 'pipe', 'pipe', 'ipc'] };
const s = spawn(process.execPath, [emptyFile], spawnOptions);
var handle = null;
s.on('exit', function() {
handle.close();
Expand Down