Skip to content
Closed
Changes from all commits
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
10 changes: 5 additions & 5 deletions lib/child_process.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -59,7 +59,7 @@ function stdioStringToArray(option) {
}
}

exports.fork = function(modulePath /* , args, options */) {
exports.fork = function fork(modulePath /* , args, options */) {

// Get options and args arguments.
var execArgv;
Expand DownExpand Up@@ -110,7 +110,7 @@ exports.fork = function(modulePath /* , args, options */) {
};


exports._forkChild = function(fd) {
exports._forkChild = function _forkChild(fd) {
// set process.send()
var p = new Pipe(PipeConstants.IPC);
p.open(fd);
Expand DownExpand Up@@ -143,7 +143,7 @@ function normalizeExecArgs(command, options, callback) {
}


exports.exec = function(command /* , options, callback */) {
exports.exec = function exec(command /* , options, callback */) {
var opts = normalizeExecArgs.apply(null, arguments);
return exports.execFile(opts.file,
opts.options,
Expand DownExpand Up@@ -172,7 +172,7 @@ Object.defineProperty(exports.exec, util.promisify.custom, {
value: customPromiseExecFunction(exports.exec)
});

exports.execFile = function(file /* , args, options, callback */) {
exports.execFile = function execFile(file /* , args, options, callback */) {
var args = [];
var callback;
var options = {
Expand DownExpand Up@@ -511,7 +511,7 @@ function normalizeSpawnArguments(file, args, options) {
}


var spawn = exports.spawn = function(/* file, args, options */) {
var spawn = exports.spawn = function spawn(/* file, args, options */) {
var opts = normalizeSpawnArguments.apply(null, arguments);
var options = opts.options;
var child = new ChildProcess();
Expand Down