Skip to content

Commit

Permalink
fix(MongoInstance::_launchKiller): set "execArgv" to a empty array
Browse files Browse the repository at this point in the history
to not re-execute any "--import"s

fixes #912
  • Loading branch information
hasezoey committed Feb 4, 2025
1 parent 8156001 commit af01d86
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export class MongoInstance extends EventEmitter implements ManagerBase {
path.resolve(__dirname, '../../scripts/mongo_killer.js'),
[parentPid.toString(), childPid.toString()],
{
execArgv: [],
detached: true,
stdio: 'ignore', // stdio cannot be done with an detached process cross-systems and without killing the fork on parent termination
}
Expand Down

0 comments on commit af01d86

Please sign in to comment.