Fix python runner script.
This commit is contained in:
parent
9ac4415eee
commit
1d956e86dd
@ -1,8 +1,8 @@
|
||||
let cp = require ('child_process');
|
||||
let pythonExecutable = 'python';
|
||||
if (process.platform != 'win32') {
|
||||
if (process.platform !== 'win32') {
|
||||
pythonExecutable = 'python3';
|
||||
}
|
||||
cp.spawnSync ('python', process.argv.slice (2), {
|
||||
cp.spawnSync (pythonExecutable, process.argv.slice (2), {
|
||||
stdio: "inherit"
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user