diff --git a/test/pummel/test-child-process-spawn-loop.js b/test/pummel/test-child-process-spawn-loop.js index f9f66ce5803..7577dd72447 100644 --- a/test/pummel/test-child-process-spawn-loop.js +++ b/test/pummel/test-child-process-spawn-loop.js @@ -24,7 +24,7 @@ const common = require('../common'); const assert = require('assert'); const spawn = require('child_process').spawn; -const python = process.env.PYTHON || 'python'; +const python = process.env.PYTHON || (common.isWindows ? 'python' : 'python3'); const SIZE = 1000 * 1024; const N = 40;