(repo, platform = process.platform)
| 17 | import { join } from 'node:path'; |
| 18 | |
| 19 | export function venvPython(repo, platform = process.platform) { |
| 20 | return join(repo, '.venv', platform === 'win32' ? 'Scripts' : 'bin', platform === 'win32' ? 'python.exe' : 'python'); |
| 21 | } |
| 22 | |
| 23 | /** Does this interpreter start? A bare name is looked up on PATH by the spawn itself. */ |
| 24 | export function pythonStarts(command, args = []) { |
no test coverage detected