diff --git a/test/parallel/test-child-process-set-blocking.js b/test/parallel/test-child-process-set-blocking.js index e2620cd84c..6dcfa93141 100644 --- a/test/parallel/test-child-process-set-blocking.js +++ b/test/parallel/test-child-process-set-blocking.js @@ -25,7 +25,7 @@ const assert = require('assert'); const ch = require('child_process'); const SIZE = 100000; -const python = process.env.PYTHON || 'python'; +const python = process.env.PYTHON || (common.isWindows ? 'python' : 'python3'); const cp = ch.spawn(python, ['-c', `print(${SIZE} * "C")`], { stdio: 'inherit'