diff --git a/lib/core/processes/processWrapper.js b/lib/core/processes/processWrapper.js index a897505c..e8bdd8e7 100644 --- a/lib/core/processes/processWrapper.js +++ b/lib/core/processes/processWrapper.js @@ -14,7 +14,9 @@ class ProcessWrapper { * * @param {Options} options pingParent: true by default */ - constructor(options = {pingParent: true}) { + constructor(argOptions = {}) { + const defaultOptions = {pingParent: true} + const options = {...defaultOptions, ...argOptions}; this.interceptLogs(); this.events = new Events(); if(options.pingParent) {