diff --git a/script/node-spec-runner.js b/script/node-spec-runner.js index 340ff1d9f63b7..16c51af15db82 100644 --- a/script/node-spec-runner.js +++ b/script/node-spec-runner.js @@ -55,7 +55,7 @@ const getCustomOptions = () => { async function main () { const options = args.default ? defaultOptions : getCustomOptions(); - const testChild = cp.spawn('python', options, { + const testChild = cp.spawn('python3', options, { env: { ...process.env, ELECTRON_RUN_AS_NODE: 'true',