diff --git a/lib/scrypt-async.js b/lib/scrypt-async.js index c9433fb..60db16d 100644 --- a/lib/scrypt-async.js +++ b/lib/scrypt-async.js @@ -8,7 +8,7 @@ var max_workers = cpu_count - 1; var pool = pool = new gp.Pool({ name: 'scrypt-worker' ,create: function(callback) { - var worker = fork(__dirname + '/scrypt-async-worker.js'); + var worker = fork(__dirname + '/scrypt-async-worker.js',{execArgv:[]}); worker.controlledExit = false; worker.on('exit',function(){ if (!worker.controlledExit) { @@ -61,4 +61,4 @@ module.exports = function scryptAsync(password, salt, options, callback) { worker.send(args); }); -}; \ No newline at end of file +};