idle works
parent
827fe8b46d
commit
0fb1c80a28
|
|
@ -3,7 +3,7 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
let pythonPath = path.resolve(__dirname, '..', 'Python', 'python.exe');
|
let pythonPath = path.resolve(__dirname, '..', 'Python', 'python.exe');
|
||||||
|
|
||||||
console.log(process.argv);
|
// console.log(process.argv);
|
||||||
|
|
||||||
require('child_process').spawn(pythonPath, process.argv.slice(1), {stdio: 'inherit'});
|
require('child_process').spawn(pythonPath, [], {stdio: 'inherit'});
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue