Skip to content

Commit

Permalink
Implemented suggested changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanbh committed Nov 11, 2018
1 parent 4e1d309 commit c0be069
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-child-process-no-deprecation.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ if (process.argv[2] === 'child') {
const spawn = require('child_process').spawn;

// spawn self as child
const child = spawn(process.argv[0], [process.argv[1], 'child']);
const child = spawn(process.execPath, [process.argv[1], 'child']);

child.stderr.setEncoding('utf8');
child.stderr.on('data', common.mustNotCall());
}

0 comments on commit c0be069

Please sign in to comment.