Skip to content

Commit

Permalink
Update test/parallel/test-permission-allow-child-process-cli.js
Browse files Browse the repository at this point in the history
Co-authored-by: Livia Medeiros <[email protected]>
  • Loading branch information
aduh95 and LiviaMedeiros committed Sep 29, 2024
1 parent 4e0ede9 commit d07a1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-permission-allow-child-process-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (process.argv[2] === 'child') {
{
// doesNotThrow
childProcess.spawnSync(process.execPath, ['--version']);
childProcess.exec(...common.escapePOSIXShell`"${process.execPath}" --version`);
childProcess.execSync(...common.escapePOSIXShell`"${process.execPath}" --version`);
childProcess.fork(__filename, ['child']);
childProcess.execFileSync(process.execPath, ['--version']);
}

0 comments on commit d07a1ac

Please sign in to comment.