This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
portapy/bin/python.js

11 lines
264 B
JavaScript

#!/usr/bin/env node
const path = require('path');
let pythonPath = path.resolve(__dirname, '..', 'Python', 'python.exe');
// const versions = require('./')
let args = process.argv.slice(2);
require('child_process').spawn(pythonPath, args, {stdio: 'inherit'});